What can we improve?

Documentation

(Edit)

IPS_CreateVariableProfile

boolean IPS_CreateVariableProfile (string $ProfileName, integer $VariableType)

Parameters

ProfileName Name of the profile. Legal characters are A-Z, a-z, period (.), comma (,), and underscore (_)
VariableType
Value Description
0 creates a variable profile of the type Boolean
1 creates a variable profile of the type Integer
2 creates a variable profile of the type Float
3 creates a variable profile of the type String

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This function creates a new variable profile of the type VariableType and with the name ProfileName.

Example

//Create a profile for Boolean variables
IPS_CreateVariableProfile("Switch", 0);
//... further configuration of the profile is done here
Deutsche Webseite verfügbar
Go to cart
Any questions?