Click or drag to resize

GetDefaultDir Function

Return the current SetDefaultDir() setting.

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

Return Value

Type: String
Remarks
Return the current SetDefaultDir() setting. The string ends with a trailing "\".
Examples
This example uses GetDefaultDir() to display the location of the error log file:
X#
FUNCTION Start()
        ? GetDefaultDir()                        // NULL_STRING
        SetDefaultDir("c:\vo\prg")
        ? GetDefaultDir()                        // c:\vo\prg
See Also