Alias0 Function | |
Return the alias of the current work area as a string.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION Alias0() AS STRING
public static string Alias0()
Request Example
View SourceReturn Value
Type:
String
If there is no database file in use, Alias0() returns a NULL_STRING.
Remarks
Alias0() is the same as Alias() except that Alias0() accepts no arguments. (This is indicated by the "0" in the function name.)
Therefore, when no argument is required, Alias0() should be used instead of Alias() to increase program efficiency.
This example returns the name of the current work area:
1USE file1 NEW ALIAS Test1
2QOut(Alias0())
Examples See Also