What can we improve?

Documentation

(Edit)

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

SetValueInteger

boolean SetValueInteger (integer $VariableID, integer $Value)

Parameters

VariableID ID of the variable
Value -2,147,483,648 .. 2,147,483,647

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 Integer. If the variables type is not Integer, the command stops with an error. A conversion from Float (Trunc) or Boolean (0/1) is done. For a type-unsafe query you can use the command SetValue.

Example

SetValueInteger(47788, $Number_persons);
Deutsche Webseite verfügbar
Go to cart
Any questions?