Returns the table alias of the current or specified work area.
Syntax
ALIAS([nWorkArea | cTableAlias])
Returns
Character
Arguments
nWorkArea
Specifies the work area number for which ALIAS( ) returns the table alias.
cTableAlias
Specifies the table alias for which ALIAS( ) returns the table alias.
If you omit nWorkArea or cTableAlias, ALIAS( ) returns the alias of the table open in the current work area. An empty string is returned if a table isn't open in the current or specified work area.