PageGetInt
- Last UpdatedJul 18, 2023
- 1 minute read
Returns the integer value associated with a variable name on a particular page. If two or more windows are displayed, each window has a unique copy of the variable. You can use these variables in Cicode to keep track of variables unique to each window.
Note:
• You can find out the current setting for [Page]ScanTime parameter, by calling this
function as follows: PageGetInt(-2).
• This function is not supported in the server process in a multiprocessor environment.
Calling this function from the server process results in a hardware alarm being raised.
Syntax
PageGetInt(sLabel [, iWinNum])
sLabel:
String name of the variable to return
iWinNum:
Window number of the page. Default is current window.
Return Value
Integer stored in variable sLabel.
Related Functions
PageSetInt, PageGetStr, PageSetStr