STOP







Syntax




   STOP


Description




The STOP command, when encountered in a procedure, stops all the procedures that are currently active and causes the program to resume reading from the keyboard.

When entered from the keyboard, the STOP is regarded as an unrecognized command. (Use EXIT to stop the program.)



Examples




Let FILEA, FILEB, and FILEC be the following procedures.

   (FILEA)          (FILEB)           (FILEC)
    A1;              B1;               C1;
    A2;              START FILEC;      C2;
    A3;              B2;               EXIT;
    START FILEB;     B3;               C3;
    A4;              STOP;
    A5;              B4;
The command

   START FILEA
is equivalent to the sequence of commands

   (A1)
   (A2)
   (A3)
   (B1)
   (C1)
   (C2)
   (B2)
   (B3)


Notes




The EXIT and STOP commands are used mostly for debugging procedures. (When debugging a procedure, it is not always necessary to read all the way through it.)



Related Topics




  1. About Procedures
  2. Tailoring The Command Language
  3. The Percy Help System