%pause() function

The %pause() function suspends the calling process until it receives a signal.

For Windows: Not Supported

Syntax

 (void)%pause()

Description

Break, Esc, a logoff, a signal, or a message sent by another process causes the process to resume execution. In case of a logoff, control is not returned to the FlashBASIC program. This is equivalent to an infinite sleep.

Only SIGUSR2 should be used to wake up a process waiting in %pause().