AIPS NRAO AIPS HELP file for DELAY in 31DEC22



As of Wed Dec 8 9:29:22 2021


DELAY: Pause AIPS for DETIME seconds

INPUTS

DETIME          0.01       1000.0  Pause time in seconds
          The desired delay time may also be given as an
          immediate argument: DELAY(10) for 10 seconds.  In
          that case DETIME is ignored.  Use this in procedures.

HELP SECTION

DELAY
Type: Verb
Use:  This verb delays the AIPS main program by DETIME seconds or by
      the number of seconds given in an immediate argument.  Some
      procedures will have a problem unless you use the immediate
      argument style.

      The main use for this verb will be in scripts, where one wishes
      to delay a short while (e.g. 3 sec) to look at a display before
      going on.  Another way to delay is of course to READ some
      variable from the keyboard, but this requires the user to stay
      alert.  If the READ is ignored AIPS will pause indefinitely.

      To delay AIPS for quite a while, one can put DELAY in a FOR
      loop:
             DETIME = 900
             FOR I = 1:20; DELAY; END
      will delay AIPS for 5 hours.  This would allow a GO or whatever
      to occur much later (e.g. after a MNJ).  Note that the BATCH
      capability of AIPS is designed for such usage however.

Adverbs:
  DETIME......The amount of time to delay in seconds.  Must be between
              0.01 and 1000.0 seconds.

EXPLAIN SECTION


AIPS