Current Page:
NeXtMidas Training
Option Trees
Command Dictionary
Using UPDATE
|
|
- The
UPDATE command:
- The
UPDATE command provides an interactive way to add or modify entries
in the command dictionary.
- The
UPDATE command handles the details in formatting the entries and
inserting them in the correct order.
- Example:
nM> update mycommand
Option tree (USER, SITE, UCL, etc): [] -> train
MYCOMMAND Abbreviation: [MYCOMMAND] -> myc
Support [M] -> M
Number of arguments [0] -> 3
Default 1 [] -> FOO=3
Default 2 [] -> BAR=
Default 3 [] -> BAZ=
nM>
Added the following entry to the command dictionary for the TRAIN option tree:
MYC*OMMAND M,3 ,FOO=3,BAR=,BAZ=,
- Older versions of NeXtMidas had upredictable behavior if the command
name was not specified correctly on the command line. This was corrected in NeXtMidas
2.3.0.
- If you choose not to use the
UPDATE command and manually edit the command
dictionary you will need to use the PATH command to reload the appropriate
command dictionary.
- This is done automatically when you use
UPDATE .
- Hint: Update is easier.
Don't Make This Mistake: |
Many people make mistakes when they edit the command dictionary by hand (there are lots of
special rules that must be followed when updating the dictionary by hand). This can be
easily avoided by using the UPDATE command.
|
Don't Make This Mistake: |
When using the UPDATE command, make sure to include the
= after specifying each parameter name.
Example: STR1= , instead of STR1 .
Failure to include the = sign will result in the
parameter not being recognized by NeXtMidas.
|
|
|
|