Click or drag to resize

DbSymSelect Function

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

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION DbSymSelect(
	symAlias
) AS DWORD CLIPPER
Request Example View Source

Parameters

symAlias (Optional)
Type: Usual
The alias of the work area you want to select.

Return Value

Type: DWord
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