Documentation
IPS_CreateVariableProfile
boolean IPS_CreateVariableProfile (string $ProfileName, int $VariableType)
Parameters
ProfileName | Name of the profile. Legal characters are A-Z, a-z, period (.), comma (,), and underscore (_) |
||||||||||
VariableType |
|
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