Click or drag to resize

DBF Function

X#
Return the name of the alias.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION DBF() AS STRING
Request Example View Source

Return Value

Type: String
The alias of the work area as a string.
If there is no active database file in the work area, DBF() returns a NULL_STRING.
Remarks

By default, this function operates on the currently selected work area.
It can be made to operate on an unselected work area by specifying it within an aliased expression or by calling the overload that accepts a workarea parameter (a workarea number or alias ).
Tip Tip
DBF() is a compatibility function and is no longer recommended.
It is superseded by Alias0(). See Alias0() for more information.
Examples