setVariable()
The function allows to set the value of the stated variable.
Synopsis
void setVariable( string which, anytype value );
Parameters
Parameter | Description |
---|---|
which | Name of the variable |
value | Value that should be set for the variable. |
Return value
-
Errors
Errors will raise an exception.
Description
The function allows to set the value of a variable. Among others this allows to set dynamically generated variables at run-time.
It is not possible to set const or private variables of a function library.
Assignment
Availability
UI, CTRL