What can we improve?

Documentation

(Edit)

IPS_CreateVariable

integer IPS_CreateVariable (integer $VariableType)

Parameters

VariableType
Value Description
0 creates a variable of type boolean
1 creates a variable of type Integer
2 creates a variable of type float
3 creates a variable of type string

Returns

ID of the newly created variable

Description

This function creates a new IPS variable of the type VariableType.

It returns an ID that can be used to distinctly identify the new variable.

Example

// Create a float variable
$VarID_room temperature = IPS_CreateVariable(2);
Deutsche Webseite verfügbar
Go to cart
Any questions?