VarSetText
- sets dynamic variable of string type

Miscellaneous functions
(AmiBroker 4.80)


SYNTAX VarSetText( ''varname'', ''valuetext'' )
RETURNS STRING
FUNCTION Sets the text (string) value of dynamic variable.
Similar to VarSet but allows to assign string (text) instead of number/array.

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
SEE ALSO VarGetText() function , VarGet() function , VarSet() function

References:

The VarSetText function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.