Click or drag to resize

Alias0Sym Function

Return the alias of the current work area as a symbol.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.10
Syntax
 FUNCTION Alias0Sym() AS SYMBOL
View Source

Return Value

Type: Symbol
If there is no database file in use for the current work area, Alias0Sym() returns a NULL_SYMBOL.
Remarks
Alias0Sym() is the same as Alias0() except that it returns the alias as a symbol.
This example returns the name of the current work area:
X#
USE mydbf
QOut(Alias0Sym())                        // Returns: "MYDBF"
QOut(Alias0Sym() = #MYDBF)                // Returns: TRUE
Examples