ConvertToURL Function

Converts a system file name to a file URL.

Syntax:


ConvertToURL(filename)

Return value:

ھەرپ-بەلگە تىزىقى

Parameters:

Filename: A file name as string.

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

Example:


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

Please support us!