Retrieves the current value of a variable, based on a dynamic value representing a variable index within the Variable list.
|
Syntax:
|
VarCurr(variable)
|
Parameters:
|
variable: A value representing a variable index. Should be used with the VAR literal.
|
Returns:
|
Current value of requested variable, in the variable's attribute
|
Examples:
|
VarCurr('BE'VAR) returns the current value of the variable BE
VarCurr('CR'VAR + 7) returns the current value of the variable CY
|
Note:
|
This function can be used for implementing arrays, by adding to or subtracting from the base variable.
|
See also:
|
Var functions
The Online and Rich Client Samples projects (program VA05 and RVA05)
|