PATH.GetCurFolder |
filename = PATH.GetCurFolder() AS STRING
Returns the current directory/folder. If the function fails, an error will be raised.
Example:
$LIBRARY "MyBASIC2_ExtLib.dll" $INCLUDE "MyBASIC2_ExtLib.bas"
folder = PATH.GetCurFolder()
PRINT "Current Folder = ";folder,
END
|