IB Statements/path
From CometWiki
PATH function
Syntax: path-string = PATH(Comet-directory-name)
Discussion: The PATH function returns the full path associated with a Comet-directory-name. The Path function returns path names with backslash character appended.
The maximum length of the value returned is 254 bytes.
If the directory is not accessed, the path function returns an empty string.
History: This function was added to Comet98 in Build 266.
Example:
LENGTH 3 & LOCAL DIR$ LENGTH 60 & LOCAL PATH$ . . . DIR$ = "REL" PATH$ = PATH(DIR$)
In the above example, the PATH function is used to find the full path associated with the "REL" directory.