Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: MCMENU Next: MDDPI Index

Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

MCRUN

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.
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690
 


Table of contents Previous: MCMENU Next: MDDPI Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690