Select a new work area by specifying its alias as a symbol.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.7
Syntax FUNCTION DbSymSelect(
symAlias AS USUAL := NIL
) AS DWORD
public static uint DbSymSelect(
Usual symAlias = null
)
Request Example
View SourceParameters
- symAlias (Optional)
- Type: Usual
The alias of the work area you want to select.
Return Value
Type:
UInt32
The number of the new work area selected.
Remarks
Examples
The following example selects a new work area:
1FUNCTION Start()
2 LOCAL symAlias AS SYMBOL
3 USE test NEW
4 USE demo NEW
5 symAlias := SysFindAtom("test")
6 wSelect := DBSymSelect(symAlias)
7 ? "Selected area: ", wSelect
See Also