ph_getglobal_n PowerHome formula function
Description
Retrieves a global variable and returns the data as a number.
Syntax
ph_getglobal_n ( id )
Argument |
Description |
id |
String identifying the global variable you wish to retrieve. NOTE: Should be all uppercase. |
Return value
Double. The data stored within the global variable will be returned as a double. You should only use this function if you know that the data stored within the global variable can be properly converted to a double.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_getglobal_n ("MOTION_COUNT")