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.4a
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#
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