RUN
Revision as of 18:05, 27 April 2020 by ConvertBot (talk | contribs) (execute NeXtMidas command stored in a results parameter)
execute NeXtMidas command stored in a results parameter
<CMD> - Name of results parameter The RUN command retrieves the contents of a string-valued results parameter, assumes it's a NeXtMidas command, and executes it. Examples: * In the shell: nM> RESULTS N 7 nM> RUN "CALCULATOR N N 2 *" * Within a macro, Multiply N by 2 in the parent macro's results set: RUN/PARENT "CALCULATOR N N 2 *" * Within a macro, multiply N by 2 in the global results set RUN/GLOBAL "CALCULATOR N N 2 *" * Since the quotes are optional, the following are equivalent: nM> RUN "CALCULATOR N 3" nM> RUN CALCULATOR N 3 Switches: /GLOBAL - Runs the command using the global results set. /PARENT - Runs the command using the results set of the parent macro if available; if no results set is available for the parent macro then the global results set is used.