Click or drag to resize

GetCurPath Function

Get the current X# search path for opening file.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.4a
Syntax
 FUNCTION GetCurPath() AS STRING
View Source

Return Value

Type: String
Remarks
Examples
This example uses GetCurPath() to specify the directory where a file is to be processed:
X#
1FCreate2(GetCurPath() + "newfile.txt", FC_NORMAL)
See Also