« Back to Product

Documentation

GetValueBoolean

 bool GetValueBoolean (int $VariableID) 

Parameters

VariableID

ID of the variable

Returns

Value of the specified variable

Description

The function returns the content of the IP-Symcon variable with the ID VariableID. The selected variable must have the type Boolean. If the variable's type is not Boolean, the function stops with an error. No conversion is done by this function. For a type-unsafe query you can use the function GetValue.

Example

$Window_open = GetValueBoolean(47788);   // Boolean variable: true or false
Any questions?