Click or drag to resize

DbSymSelect Function

Select a new work area by specifying its alias as a symbol.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION DbSymSelect(
	 symAlias AS USUAL
) AS DWORD
View Source

Parameters

symAlias
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:
X#
FUNCTION Start()
        LOCAL symAlias AS SYMBOL
        USE test NEW
        USE demo NEW
        symAlias := SysFindAtom("test")
        wSelect := DBSymSelect(symAlias)
        ? "Selected area: ", wSelect
See Also