PageFile
- Last UpdatedJul 18, 2023
- 1 minute read
Displays a file on the page. After the file is displayed, you can scroll up and down through the file. To use this function, you need to use the Graphics Builder to create a page called "File" (using the file template).
Note:
• The operation of this function has changed. In Version 2.xx this function displayed
the built-in alarm page from the Include project.
• 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
PageFile(sName)
sName:
The name of the file to display.
Return Value
0 (zero) if the file is successfully displayed, otherwise an error is returned.
Related Functions
Example
System Keyboard
|
Key Sequence |
File ######## Enter |
|
Command |
PageFile(Arg1) |
|
Comment |
Display the specified file on the page |