Preloads an Editor macro into internal storage.
Scope: Global
Syntax
Options
Path |
The path to be used instead of |
MacroName |
The name of the macro to preload. |
Description
The macroload command preloads an Editor macro into internal storage.
Preloading macros provides faster invocation of the macro, but
the macro will not run faster. If a path is specified, the
selected path is used to find the file, otherwise the LPATH4 or
CPPLPATH4
environment variable is used. If the macro was previously
preloaded, the preloaded macro is replaced by the macro in the
file. The profile.lx macro should be preloaded.
Example
To load the test macro, type:
macroload test
API Return Codes
1 |
Not enough storage to load the macro. |
-1 |
The Editor cannot find the macro file. |
-4 |
The file is not an Editor macro file or is larger than 64KB (where KB equals 1024 bytes) . |
![]()
