The last word 3.0 reference manual – Atari XL User Manual
Page 42

The Last Word 3.0 Reference Manual
7-42
field. To actually get input from the user, you MUST include the
then pause, allowing the text entry until
The input is sent to the paste buffer and overwrites its contents,
even if a null string was entered. If the
used before the Ask command, the branch will occur if the input
string was EMPTY.
The input string can be pasted into the document in the same way
as any normal paste operation. It can also be inserted into a
filename/search/replace input line with the
(see below).
The Ask for Input command has virtually unlimited scope for
macro development, allowing the creation of truly interactive,
professional looking applications. Just remember that the contents
of the paste buffer are lost when this command is used.
Branch to macro. Use this macro to create a branching condition.
Follow with a macro identifier before a LOAD MACROS
command, and the program will attempt to run this macro as soon
as the new macros are loaded. Used before a FIND command,
LW will branch to the macro if the string is NOT FOUND. Used
before a GOTO MARKER/NEXT MARKER/PREVIOUS MARKER
command, the branch will occur if the marker is NOT FOUND.
Used before a special macro CONFIRM (Y/N) command
NO. Used before a
branch will occur if the subsequent input string is EMPTY. See the
Confirm (Y/N). Follow with a message terminated with
mark, then "(Y/N):". The user responds with the appropriate key.
"Y" will allow the macro to continue. "N" will terminate all macros
(even if the macro running is nested), or, if a branch macro is
pending after a
run. NOTE: Before the introduction of "macro conditionals" in later
TextPro versions, that program's
Macro menu. Follow with a line of text terminated with
menu. This message will be printed, then the program will run the
macro attached to the next key pressed.
The macro menu has been augmented somewhat since version
2.1 of LW. Since the macro menu command is by definition the
last command in a macro, it’s now possible to add two extra
parameters after the menu text. On a new line, type all the valid
keystrokes for the menu options, ending in
the next line, type the ID characters for the macros you want each