$LOAD
- Last UpdatedJan 05, 2026
- 1 minute read
Syntax
$LOAD (Macro-name)
Loads the given macro into the User Macro Library but does not execute it. The commands within the macro are NOT checked for correct syntax but any labels are pre-processed to avoid re-scanning the macro. The default file extension is MAC which will be appended automatically if a file extension is not supplied.
Three Macro Libraries exist, these are named:
MAC$WRK - Temporary
MAC$USR - User macro library
MAC$SYS - System macro library
These files will be created if they do not exists when the application begins. The MAC$WRK file can be deleted when exiting from the application. The MAC$USR library can be used to store personal macros. The MAC$SYS library is used to store predefined or standard macros.
To create a System Macro Library the user should $LOAD the required macros into the User Library and the copy the User Library to the System Library.