ph_getglobal_s PowerHome formula function
Description
Retrieves a global variable and returns the data as a string.
Syntax
ph_getglobal_s ( globalname )
Argument Description
globalname String identifying the global variable you wish to retrieve.
Return value
String. The data stored within the global variable will be returned as a string. Data within global variables is always stored in a string format so this function is safe to use with all data within a global variable.
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_getglobal_s("CAMERA_NAME") --> sample use: if(ph_getglobal_s("ALERT_MAIL1")="1",1,0)