The best way to illustrate the creation of macros is with some useful examples.
DUAL FONT LOADER
When loading fonts into LW, only the font relevant to the current display mode is normally loaded, i.e. if LW is in 80 column mode and you specify a font to load, only the 80 column (.F80) font is loaded, while the 40 column font remains unchanged. You can, however, load the “other” font by specifying the file extender when loading fonts. For example, if LW
is in 40 column mode and you load the “MACRO.F80” font, the
underlying 80 column font will be loaded while the current 40 column font will remain unchanged.
What if you wanted to load both the 40 and 80 column fonts at the same time? We can write a macro which will function as a new command for loading both types of font.
We’ll put the macro on the keystroke, so create an empty file and type , then