Click or drag to resize

__VarPut Function

Assign a field in the current workarea or a dynamic variable.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION __VarPut(
	cName AS STRING,
	uValue AS USUAL
) AS USUAL

Parameters

cName
Type: String
Name of the field or variable to access.
uValue
Type: USUAL
New value for the field.

Return Value

Type: USUAL
Remarks
This function is automatically called by code generated by the compiler when an undeclared field or variable is written.
Examples
UndeclaredName := "James Bond"
See Also