Contents | Prev | Next

7.4.11 The delay procedure

Description

The delay procedure waits for a specified number of milli-seconds to elapse.

Parameter

The delay procedure's only parameter is an expression of integral type and is the number of milli-seconds that the program should wait.

Example

   delay(1000)  makes the program wait for 1000 milli-seconds (i.e. 1 second).

Portability

Operating Systems: Windows, DOS, OS/2
Standard Pascal: No

Contents | Prev | Next