MACROFUNC
From ICE Enterprises
Revision as of 17:05, 27 April 2020 by ConvertBot (talk | contribs) (create or list macro for debug)
create or list macro for debug
<U:name> Name of macro [DEF=CURRENT]
<U:func> Function to perform (ENTER,LIST) [DEF=LIST]
<L:wind> Number of lines displayed for LIST function inside a macro [DEF=5]
Provides some utilities for manipulating macros. When executed the given macro
definition is loaded and the specified function is performed on the macro text.
FUNCTIONS:
ENTER - macrofunc <name> ENTER
Allows a user to enter a macro directly from the command prompt. If <name>
is given, the macro is written to the current homepath as a user macro. If
<name> is blank, the macro is entered and executed.
LIST - macrofunc <name> LIST
Displays the contents of the macro to the terminal with line numbers to the
left of each line. If <name> is blank and called within a macro, the lines
+-<WIND> about the current macro index are displayed. If name is not
blank, the entire parsed macro is displayed.
Switches: NONE