Documentation
SetValueString
boolean SetValueString (int $VariableID, string $Value)
Parameters
VariableID | ID of the variable |
Value | Text |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
The command sets the value of an IP-Symcon variable with the ID VariableID. The selected variable must have the type String. If the variables type is not String, the command stops with an error. A conversion from Float, Integer, or Boolean (False/True) is done. For a type-unsafe query you can use the command SetValue.
Example
SetValueString(47788, $current_project);