Contents

# ConvertToURL Function

將系統檔案名稱轉換成檔案 URL。

### Syntax:

    ConvertToURL (filename)

### Return type:

String

### Parameters:

filename: A file name as string.

### 錯誤代碼：

5 無效的程序呼叫

### Example:

        systemFile$ = "c:\folder\mytext.txt"
        url$ = ConvertToURL( systemFile$ )
        print url$
        systemFileAgain$ = ConvertFromURL( url$ )
        print systemFileAgain$

相關主題

String functions

Please support us!