Execute a command after evaluating string variables
Format:
MCRUN command
Parameter:
| command |
command to execute |
Remarks:
Whatever arguments are given to MCRUN are executed as a McIDAS
command. String substitution is done.
This command may be most useful for running commands with McIDAS
string substitution from the Unix shell.
Example:
ASK1 ANS {QUESTION}; MCRUN ECHO "##ANS
This command echoes the string the user types into the ASK1 window.
te.k STR \"TEXT; mceval.k ECHO \"#STR
This command, when typed in a shell-based McIDAS session, sets
and echoes the value of the string STR.