This command reads a specified file (no lines wider than 2500 characters) into an empty Editor as a simple list of elements.
Scope: Global
Syntax
![]()
Parameter
Filename |
The name of the file (drive and path may be specified) |
Description
Once the file has been read, a number of customizing macros are called, providing they are listed in the PROFILES setting. All macros are passed the filename and extension.
| Note: | If the doctype parameter is not set, then the file will not be parsed when loaded. |
Example
To load the file called myfile.txt, type:
load myfile.txt
API Return Codes
-1 |
Document is not empty |
-2 |
No filename given |
-3 |
Invalid filename |
-6 |
Error reading file |
-7 |
File too wide (only a fixed buffer is available) |
![]()
