Documentation
IPS_SetVariableProfileText
bool IPS_SetVariableProfileText (string $ProfileName, string $Prefix, string $Suffix)
Parameters
| ProfileName | Name of the profile. Available profiles can be queried via IPS_GetVariableProfileList |
| Prefix | Prefix of the value |
| Suffix | Suffix of the value |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
This function sets the prefix and suffix of the variable profile with the name ProfileName to Prefix and Suffix, respectively.
Standard profiles, which cannot be changed, start with a tilde (~).
Example
IPS_SetVariableProfileText("Switch", "", "%");