Skip to main content
Previous section   Next section

NAP

Suspends processing for a specified number of milliseconds.

Synopsis

NAP [millisecs]

Arguments

millisecs Optional — An integer count of milliseconds. If omitted, execution is suspended for 1 millisecond.

Description

The NAP statement specifies the number of milliseconds to suspend program execution. There are one thousand milliseconds in a second. If you specify NAP with no argument, it suspends program execution for one millisecond.

The SLEEP and RQM statements can be used to suspend program execution for a specified number of seconds.

See Also