Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
| 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. 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. |