Click or drag to resize

__FieldSetWa2 Function

Assign a value to a field in a workarea, or set a property of an undeclared variable

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.4a
Syntax
 FUNCTION __FieldSetWa2(
	wa AS STRING,
	fldName AS STRING,
	uValue AS USUAL,
	lAllowUndeclared AS LOGIC
) AS USUAL
View Source

Parameters

wa
Type: String
Workarea in which the expression will be evaluated, or the name of the undeclared variable.
fldName
Type: String
FieldName to assign, or the name of the property.
uValue
Type: Usual
Value to assign.
lAllowUndeclared
Type: Boolean

Return Value

Type: Usual
The return value of the is the same as the value that is assigned.
Remarks
This function is automatically called by code generated by the compiler when it detects the FoxPro Member Assign for an undeclare variable.
Examples
Customer.Name = "Foo"
See Also