COMMAND LIST The following tables present all the Macro and Key Commands supported by MC.COM and M2T.COM. In addition to the listed commands, MPE4WP also recognizes the following commands: {ALT x}, where "x" is any "legal" character, {KEY MACRO n}, where "n" is the number of a KEY MACRO, {VAR n}, where "n" is a number from 0 to 9, {MACRO CMD n}, where "n" is the number of a Macro Command, and {KEY CMD n}, where "n" is the number of a Key Command. (See the section entitled "XALT Keys" in the User Reference Guide for a discussion of "legal" characters.) Please note that the asterisked commands will not be recognized by WordPerfect 5.0. If you incorporate any of these commands in your source code, the WordPerfect 5.0 Macro Editor will interpret the command as {UNKNOWN}. You should also be aware that WordPerfect Corporation adds commands from time to time. For example, the command {OTHERWISE} was added with the August 20, 1990 release of WordPerfect 5.1. If you attempt to use {OTHERWISE} with an earlier release, the WordPerfect 5.1 Macro Editor will interpret the command as {UNKNOWN}. If you have any question as to whether your version of WordPerfect supports a particular command, retrieve COMMANDS.WPM into your Macro Editor. If the notation {UNKNOWN} appears where your command ought to be, you know it is not supported. If the command is supported it will appear in its customary bold form in the Macro Editor. See the section entitled "Anti-Obsolescence" in the MPE4WP User Reference Guide, for information about using the notation {MACRO CMD n} and {KEY CMD n} to add new Macro and Key Commands that are not in these tables. Macro Commands The following macro commands are supported by MC and M2T: {;}comment~ *{MENU ON} {ASSIGN}var~expr~ *{MID}var~offset~count~ {BELL} {NEST}macroname~ *{Block Append} *{NEXT} *{Block Copy} *{NTOK}number~ *{Block Move} {ON CANCEL}action~ {BREAK} {ON ERROR}action~ {CALL}label~ {ON NOT FOUND}action~ {CANCEL OFF} {ORIGINAL KEY} {CANCEL ON} *{OTHERWISE} {CASE}expr~cs1~lb1~...~ *{Para Down} {CASE CALL}expr~cs1~lb1~...~ *{Para Up} {CHAIN}macroname~ {PAUSE} {CHAR}var~message~ *{PAUSE KEY}key~ {DISPLAY OFF} {PROMPT}message~ {DISPLAY ON} {QUIT} {ELSE} {RESTART} *{END FOR} {RETURN CANCEL} {END IF} {RETURN ERROR} *{END WHILE} {RETURN NOT FND} *{FOR}var~start~stop~step~ {RETURN} *{FOR EACH}var~expr1~...exprN~~ *{SHELL ASSIGN}shellvar~expr~ {GO}label~ *{SHELL MACRO}macroname~ {IF EXISTS}var~ *{SHELL VARIABLE}shellvar~ {IF}expr~ {SPEED}100ths second~ *{INPUT}message~ {STATE} *{Item Down} *{STATUS PROMPT}message~ *{Item Left} {STEP OFF} *{Item Right} {STEP ON} *{Item Up} *{SYSTEM}sysvar~ *{KTON}key~ {TEXT}var~message~ {LABEL}label~ *{VARIABLE}var~ *{LEN}var~ {WAIT}10ths second~ {LOOK}var~ *{WHILE}expr~ *{MENU OFF} *Asterisked Macro Commands are not available in WordPerfect 5.0 Key Commands The following Key Commands are supported by MC and M2T. At first glance, you may believe that some of the ^-key commands have been omitted. The omitted keys have other functions. For example, there is no {^H}. In its stead, WordPerfect substitutes {Home}. Some of the Key Commands, such as {Shft F11}, {Shft F12}, and the other shifted F11 and F12 keys, have no discernible use. Others like {Compose}, {INVALID}, and {Keyboard} are not supported when incorporated in WordPerfect macros. They are presented here for completeness. If you can find a use for these orphan commands, MC and M2T are prepared to assist. {^A} {Graphics} {^B} {Help} {^C} {Home-Home-Left} {^D} {Home} {^E} {HPg} {^F} {Indent} {^G} {INVALID} {^M} *{Item Down} {^N} *{Item Left} {^O} *{Item Right} {^P} *{Item Up} {^Q} {Keyboard} {^R} {L/R Indent} {^S} {Left Mar Rel} {^T} {Left} {^U} ****{List} {^V} {Macro Define} {^\} {Macro} {^]} *****{Macro Commands} {^_} {Mark Text} { } *{Menu Bar} {-} {Merge Codes} {Alt F11} {Merge/Sort} {ALT F12} {Move} *{Alt Home} {Page Down} {Backspace} {Page Up} *{Block Append} *{Para Down} *{Block Copy} *{Para Up} *{Block Move} {Print} {Block} {Replace} {Bold} {Retrieve} {Cancel} {Reveal Codes} {Center} {Right} **{Columns/Tables} {Save} {Compose} {Screen Down} {Ctrl F11} {Screen Up} {Ctrl F12} {Screen} {Date/Outline} {Search Left} {Del to EOL} {Search} {Del to EOP} {Setup} *{Del Word (Row)} {Shell} {Del Word} {Shft F11} {Del} {Shft F12} {Down} {SHy} ***{End Field} {Spell} {End} {Style} {Enter} {Switch} {Esc} {Tab Align} {Exit} {Tab} {F11} {Text In/Out} {F12} {Thesaurus} {Flush Right} {Typeover} {Font} {Underline} {Footnote} {Up} {Format} {Word Left} {Goto} {Word Right} * Asterisked Key Commands are not available in WordPerfect 5.0 ** The Key Command {Columns/Tables} appears in WordPerfect 5.0 as {Math/Columns}. If you are writing macros for WordPerfect 5.0 use {Columns/Tables} in your source code. It will properly appear as {Math/Columns} in the macro. *** The Key Command {End Field} appears in WordPerfect 5.0 as {Merge R}. If you are writing macros for WordPerfect 5.0 use {End Field} in your source code. It will properly appear as {Merge R} in the macro. **** The Key Command {List} appears in WordPerfect 5.0 as {List Files}. If you are writing macros for WordPerfect 5.0 use {List} in your source code. It will properly appear as {List Files} in the macro. ***** {Macro Commands} is technically a Macro Command, not a Key Command. It is listed with the Key Commands because it is accessed by pressing a key (CTRL-PgUp).