Skip to main content


Suspends processing for a specified number of milliseconds.


NAP [millisecs]


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


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

FeedbackOpens in a new tab