Click or drag to resize

Functions.__VarPut Method

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

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

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