VarGetText
|
Miscellaneous functions |
SYNTAX | VarGetText( ''varname'' ) |
RETURNS | STRING |
FUNCTION | Gets the text (string) value of dynamic variable. Similar to VarGet but always returns always string values (if underlying variable has different type it is converted to string) Allows for example appending to text variable no matter if it is defined earlier or not as shown in the example below Dynamic variables are variables that are named dynamically, typically by creating a variable name from a static part and a variable part. For example, the following example dynamically constructs the variable name from a variable prefix and a static suffix. Dynamic variables are always global. |
EXAMPLE | Title = VarGetText("Title")
+ "something"; |
SEE ALSO | VarGet() function , VarSet() function |
The VarGetText function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.