dotVarSet Function
Syntax
V dotVarSet(P dotVar, C property, * value)
Arguments
- dotVar
Dot variable whose property will be set.
- property
Name of the property to set (as a string).
- value
Value to assign. Can be any data type.
Description
Sets the value of a property on a dot variable using the property name as a string.
Example
dim p as P
dim property as C = "dob"
dim value as D = {12/18/1972}
dotVarSet(p, property, value)
? p.dob ' Outputs: 12/18/1972See Also