Documentation
IPS_CreateVariableProfile
bool IPS_CreateVariableProfile (string $ProfileName, int $VariableType)
Parameters
| ProfileName | Name of the profile. Legal characters are A-Z, a-z, 0-9, period (.), hyphen (-), and underscore (_) |
|||||||||||||||
| VariableType |
|
Returns
If the function 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", VARIABLETYPE_BOOLEAN);
//... further configuration of the profile is done here