qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Delay Procedure
  Summary Details Example                                   Back
 
  Argument
 
    time    Integer expression in the range 0..65535 representing
            an approximate pause in milliseconds
 
  Description
 
    The Delay procedure causes a program pause for an approximate
    number of milliseconds. Delay uses the computer's internal clock to
    time the pause. The accuracy of the delay depends on the accuracy
    of the internal clock. It is not related to the speed of the
    processor.
 
    To pause a program for approximately one second:
 
       Delay( 1000 );
 
    Use Delay to extend the duration of the tone generated by the Sound
    procedure.