ph_setglobal_s PowerHome formula function
Description
Assigns a string to the specified global variable.
Syntax
ph_setglobal_s ( id, value )
Argument |
Description |
id |
A string identifying the ID of the global variable to set. |
value |
A string which you would like assigned to the global variable. |
Return value
Integer. Returns a 0 if successful and a 1 if an error occurred while updating the global variable.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_setglobal_s("ALERT_SMS2","0")
• ph_setglobal_s("MODE","Heat")