Two steps are required to add a macro to an existing option tree:
mcr directory of the given option
tree. For example, to add mymacro.mm to the UCL option tree,
copy it to the $NMROOT/nxm/ucl/mcr/ directory.commands.cnf file
for the option tree. The simplest way is to use the UPDATE
command (see HELP UPDATE for details).Once you add a macro to an option tree, it can be edited in
place without running UPDATE
again (unless the input parameters change).
Since NeXtMidas uses Just-In-Time compilation for all macros, you never need to compile a macro. In most cases, it is unnecessary to restart NeXtMidas after a macro is edited because it recompiles each time a user calls it from the command line.