PageSetInt
- Last UpdatedJul 18, 2023
- 1 minute read
Associates an integer variable with a particular page. Page-based variables are stored in an array, local to each display page. This function allows you to save integer variables in temporary storage.
Note:
• You can dynamically change the setting for [Page]ScanTime parameter, by calling this function as follows: PageSetInt(-2, <scantime>).
• 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
PageSetInt(sLabel, sVar [, iWinNum])
sLabel:
String name of the variable which will contain sValue.
sVar:
The integer to store.
iWinNum:
Window number of the page. Default is current window.
Return Value
No error(0) on success. 269 if WinNum handle does not correspond to a valid window. 274 if Label or Var is not a valid variable.
Related Functions
PageGetInt, PageGetStr, PageSetStr