Commands Used Within Macros
Pausing Macro For Input
----------------------------------------------------------------------------------------------
| | | |
| Key | Command | Definition |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ a | Append To Character From Macro | Pauses macro execution and prompts |
| | | for text to append after the |
| | | current character |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ CTRL a | Append To Word From Macro | Pauses macro execution and prompts |
| | | for text to append after the |
| | | current word |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ A | Append Line From Macro | Pauses macro execution and prompts |
| | | for text to append after the |
| | | current line |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ ; | Append To End Of Line From Macro | Pauses macro execution and prompts |
| | | for text to append at the end of |
| | | the current line |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ i | Insert Character From Macro | Pauses macro execution and allows |
| | | insertion of text from the |
| | | keyboard |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ I | Insert Line From Macro | Pauses macro execution, creates a |
| | | new line, then prompts for text to |
| | | be inserted |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| | Replace Character From Macro | Pauses macro execution, deletes |
| | | [count] characters and prompts for |
| | | text be inserted |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| | Replace Word From Macro | Pauses macro execution, deletes |
| | | [count] words, and prompts for |
| | | text to be inserted |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| | Replace Line From Macro | Pauses macro execution, deletes |
| | | [count] lines, and prompts for |
| | | text to be inserted |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ o | Overwrite From Macro | Pauses macro execution, and |
| | | prompts for overstrike text |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ f | Define Search Pattern From Macro | Pauses macro execution, and |
| | | prompts for search pattern |
| | | definition |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| $ = | Define Replace Pattern From Macro | Pauses macro execution, and |
| | | prompts for replace pattern |
| | | definition |
| | | |
----------------------------------------------------------------------------------------------
Using Conditional Expressions
----------------------------------------------------------------------------------------------
| | | |
| Key | Command | Definition |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC t | Test/Set/Clear Flag | Sets or clears conditional flag or |
| | | begins a "true clause" in a macro |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC T | Terminate True Clause | Terminates true clause established |
| | | with Test/Set/Clear and resumes |
| | | unconditional macro execution |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC m | Test And Execute Macro | Tests flag and executes named |
| | | macro if flag is set to true |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC M | Test And Go To Macro | Tests flag and branches to named |
| | | macro if flag is true |
| | | |
----------------------------------------------------------------------------------------------
Performing Calculations
----------------------------------------------------------------------------------------------
| | | |
| Key | Command | Definition |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC + | Calculate | Prompts for and performs |
| | | calculator functions |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC x | Use X Register | Sets or retrieves value in X |
| | | register |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| ESC y | Use Y Register | Sets or retrieves value in Y |
| | | register |
| | | |
----------------------------------------------------------------------------------------------