Creating and editing macros, Creating and editing macros -46, The last word 3.0 reference manual – Atari XL User Manual
Page 46

The Last Word 3.0 Reference Manual
7-46
editor or into an input dialogue, as
BASIC, etc. To get the escape code itself (which appears in LW as a curved
downward pointing arrow) in the text, press
You can also press
into the text.
as will
The
at the keyboard. To make a macro put the
include two consecutive
In macros, special macro commands and
entered as INVERSE
The best way to consolidate our understanding of macros is with a couple of
examples. Studying the macros supplied on the distribution disk will also help you to
understand the LW macro language.
7.5 CREATING AND EDITING MACROS
Because macros tend to contain lots of control codes, it’s best to load in the special
macro editing font before you start. It substitutes special
alphabetic
characters for
the control codes and makes macros much more readable. Load the macro font with:
The above will work in either 80 or 40 column modes because there’s a macro font for
each mode: MACRO.F80 for 80 column mode and MACRO.FNT for 40 column mode.
You may find it much preferable to switch to 40 column mode when editing macros
simply because the 40 column font is easier to read and accuracy is important when
writing macros.
Switch to 40 column mode with:
You may need to go through the procedure to load the 40 column macro font if you
haven’t already done so.
All the examples here are illustrated by screen shots of the macros in 40 column mode
with the MACRO.FNT character set loaded.