integer IPS_CreateVariable (integer $VariableType)
VariableType |
|
ID of the newly created variable |
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.
// Create a float variable $VarID_room temperature = IPS_CreateVariable(2);