What can we improve?

Documentation

(Edit)

Translation is in progress...
Not all topics are available at the moment and content links may be broken.

SetValueString

boolean SetValueString (integer $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);
Deutsche Webseite verfügbar
Go to cart
Any questions?