HELPLIB.HLB  —  FORTRAN  Statements  PAUSE
  The PAUSE statement displays a message on the terminal and
  temporarily suspends program execution, so that you can take some
  action.  This statement has been deleted in Fortran 95; it was an
  obsolescent feature in Fortran 90.  VSI Fortran fully supports
  features deleted in Fortran 95.

  Statement format:

     PAUSE [disp]

     disp  Is an optional character constant or a string of
           up to six digits.  (Fortran 95/90 and FORTRAN 77 limit
           digits to five.)

  If you do not specify a value for "disp", the system displays the
  following default message:

     FORTRAN PAUSE

  The system then displays the system prompt.

  If you specify a value for "disp", this value is displayed instead
  of the default message.

  EFFECT OF PAUSE IN INTERACTIVE MODE:

  In interactive mode, the program is suspended until you enter one
  of the following commands:

   o  CONTINUE - to resume execution at the next executable
      statement.

   o  DEBUG - to resume execution under control of the VMS Debugger.

   o  EXIT - to terminate execution.

      Note that any command, other than CONTINUE or DEBUG, terminates
      execution.

  EFFECT OF PAUSE IN BATCH PROCESS MODE:

  If a program is a batch process, the program is not suspended.  If
  you specify a value for "disp", this value is written to the system
  output file.
Close Help