MENU
From ICE Enterprises
Revision as of 18:04, 27 April 2020 by ConvertBot (talk | contribs) (list NeXtMidas commands in the command dictionary)
list NeXtMidas commands in the command dictionary
<NAME> - Command name to search for. [DEF=*]
<FUNC> - Specify which action to perform. [DEF=LIST]
<SUP> - Which support area to view (P=Primitive, I=Intrinsic, H=HostPrimitive,
M=Macro, %=UserMacro, ...). [DEF=*]
<OPT> - Name of option tree. [DEF=*]
Performs various actions, depending on the <FUNC> keyword, on the current
configured set of NeXtMidas commands. When giving command names, a '*' is
implicitly added to the end of the name, i.e.:
nM> menu m
Is the same as:
nM> menu m*
The entire list of configured commands is filtered through use of the <NAME>,
<SUP>, and <OPT> parameters. The <SUP> parameter and <OPT> parameters refer
to the command type and option tree, respectively. The keyword values 'ALL' and
'*' are identical and make <NAME>, <SUP>, and/or <OPT> parameters all-inclusive.
Functions:
ENABLE - TBD
DISABLE - TBD
LIST - Displays commands in the command dictionary that match <NAME>,
<OPT> and <SUP>. If the option tree in which the command resides
is not 'SYS', then the option tree name is appended to the command
name (unless /OPT=NO is used).
PREFER - TBD
Examples:
1. Display all commands that begin with the letter H in all areas and all
option trees.
nM> menu h
HEADERMOD-I HELP-I HISTORY-I HOMEPATH-I
HTTPSERV-P HW;HWC-M
in the above example the trailing star is implied and therefore matches
nM> menu h*
HEADERMOD-I HELP-I HISTORY-I HOMEPATH-I
HTTPSERV-P HW;HWC-M
2. Display all commands that begin with the letter H in the intrinsic area
of all option trees.
nM> menu h,,I
HEADERMOD-I HELP-I HISTORY-I HOMEPATH-I
3. Display all commands that begin with the letter H in any area of the HWC
option tree.
nM> menu h* OPT=HWC
HW;HWC-M
4. Save all commands (in path) to 'commands.tmp' including it's option tree.
nM> menu/f=commands.tmp/opt
Switches:
/F=filename Specify an output file to receive the command list (<FUNC>=LIST
only). Writes the command names (no support) to a Type 1000 file.
If no file name is given the default file name is 'menu.tmp'.
Since 3.1.1: To include the option tree along with the command
name, specify /OPT switch.
/FORMAT=#A If /F is specified, indicates the format of the output file.
Since NeXtMidas 3.1.1. [DEF=XA]
/OPT= Display non-SYS option tree with command. [DEF=YES, NO for /F=]
See also: DEFAULTS, EXPLAIN, HELP