<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Monitor and Command Language</TITLE> <META NAME="description" CONTENT="Monitor and Command Language"> <META NAME="keywords" CONTENT="vol1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol1.css"> <LINK REL="next" HREF="node54.html"> <LINK REL="previous" HREF="node15.html"> <LINK REL="up" HREF="vol1.html"> <LINK REL="next" HREF="node23.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html728" HREF="node23.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html724" HREF="vol1.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html718" HREF="node21.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html726" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html727" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html729" HREF="node23.html">Starting the MIDAS Monitor</A> <B> Up:</B> <A NAME="tex2html725" HREF="vol1.html">No Title</A> <B> Previous:</B> <A NAME="tex2html719" HREF="node21.html">Executing System Commands</A> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION00600000000000000000"> </A> <A NAME="monitor-and-syntax"> </A> <BR> Monitor and Command Language </H1> <P> This chapter is organised as follows: <UL> <LI>In the first two sections we describe how to start MIDAS and how the host operating system and MIDAS coexist. <LI>Section 3 explains the different data structures used in MIDAS and how to access them in a MIDAS session. <LI>Section 4 describes the syntax of the MIDAS commands, as well as the editing and recalling of commands and also the on-line HELP facility in MIDAS. <LI>In section 5 you will find some details about how the MIDAS commands are executed. <LI>Then follows the largest and most detailed section (section 6), which gives in-depth information about the MIDAS command language, <TT>MCL</TT>. <BR> With <TT>MCL</TT> you can write high level MIDAS ``programs'' which are called MIDAS procedures. <BR> The topics include: <UL> <LI>the <TT>MCL</TT> commands <LI>passing parameters in MIDAS procedures <LI>symbol substitution <LI>loops and conditional branching <LI>special functions </UL> <LI>Section 7 introduces the MIDAS contexts. <LI>Section 8 explains how to run application programs written in FORTRAN or C inside MIDAS. It also shows how to debug these programs as well as MIDAS procedures. <LI>All the commands related to MIDAS catalogs are listed in section 9, together with an example of how to use catalogs in MIDAS procedures. <LI>The MIDAS login procedure and MIDAS user levels are the topics of the last two sections. </UL> <P> The MIDAS directory tree structure is not covered in this chapter. For those interested, please refer to the <I>MIDAS Environment document</I><A NAME="1309"> </A>. <P> <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"> </A> <UL> <LI><A NAME="tex2html730" HREF="node23.html">Starting the MIDAS Monitor</A> <LI><A NAME="tex2html731" HREF="node24.html">MIDAS And the Host Operating System</A> <LI><A NAME="tex2html732" HREF="node25.html">MIDAS Data Structures</A> <UL> <LI><A NAME="tex2html733" HREF="node26.html">Specifying a Descriptor</A> <LI><A NAME="tex2html734" HREF="node27.html">Specifying Keywords</A> <LI><A NAME="tex2html735" HREF="node28.html">Specifying Elements in a Table</A> <LI><A NAME="tex2html736" HREF="node29.html">Specifying Pixels in an Image</A> <LI><A NAME="tex2html737" HREF="node30.html">Specifying Sub-Image</A> </UL> <LI><A NAME="tex2html738" HREF="node31.html">Command Syntax</A> <UL> <LI><A NAME="tex2html739" HREF="node32.html">Command Recalling</A> <LI><A NAME="tex2html740" HREF="node33.html">Command Line Editing</A> <LI><A NAME="tex2html741" HREF="node34.html">Command Line Suspension</A> <LI><A NAME="tex2html742" HREF="node35.html">On-Line Help</A> <LI><A NAME="tex2html743" HREF="node36.html">Input/Output Redirection in Midas</A> </UL> <LI><A NAME="tex2html744" HREF="node37.html">Execution of Commands</A> <LI><A NAME="tex2html745" HREF="node38.html">MIDAS Command Language</A> <UL> <LI><A NAME="tex2html746" HREF="node39.html">Passing Parameters in MIDAS Procedures</A> <LI><A NAME="tex2html747" HREF="node40.html">Symbol Substitution in Command Procedures</A> <LI><A NAME="tex2html748" HREF="node41.html">DO Loops</A> <LI><A NAME="tex2html749" HREF="node42.html">Local Keywords</A> <LI><A NAME="tex2html750" HREF="node43.html">Conditional Statements, Branching</A> <LI><A NAME="tex2html751" HREF="node44.html">Special Functions</A> <LI><A NAME="tex2html752" HREF="node45.html">Interrupting Procedures</A> <LI><A NAME="tex2html753" HREF="node46.html">Entry points</A> </UL> <LI><A NAME="tex2html754" HREF="node47.html">Context Levels</A> <LI><A NAME="tex2html755" HREF="node48.html">Running a Program within MIDAS</A> <UL> <LI><A NAME="tex2html756" HREF="node49.html">Debugging of Procedures and Modules</A> </UL> <LI><A NAME="tex2html757" HREF="node50.html">Catalogs in MIDAS</A> <UL> <LI><A NAME="tex2html758" HREF="node51.html">Using Catalogs in MIDAS Procedures</A> </UL> <LI><A NAME="tex2html759" HREF="node52.html">Adapting MIDAS to your personal needs</A> <LI><A NAME="tex2html760" HREF="node53.html">MIDAS User Levels</A> </UL> <!--End of Table of Child-Links--> <HR> <!--Navigation Panel--> <A NAME="tex2html728" HREF="node23.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html724" HREF="vol1.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html718" HREF="node21.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html726" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html727" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html729" HREF="node23.html">Starting the MIDAS Monitor</A> <B> Up:</B> <A NAME="tex2html725" HREF="vol1.html">No Title</A> <B> Previous:</B> <A NAME="tex2html719" HREF="node21.html">Executing System Commands</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-09</I> </ADDRESS> </BODY> </HTML>