Click or drag to resize

GetCurPath Function

X#
Get the current X# search path for opening file.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION GetCurPath() AS STRING
Request Example 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