Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


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