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.6
Syntax
 FUNCTION Alias0Sym() AS SYMBOL
Request Example 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#
1USE mydbf
2QOut(Alias0Sym())            // Returns: "MYDBF"
3QOut(Alias0Sym() = #MYDBF)        // Returns: TRUE
Examples
See Also

Reference

Alias0Sym