Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

PAUSE

Description

The PAUSE statement allows processing to be suspended until an external event triggered by a WAKE statement from another process or a timeout occurs. This takes the general form: 

PAUSE {expression}

Where expression may evaluate to a timeout value, which is the maximum number of seconds to suspend the process. If expression is omitted then the PAUSE statement will cause the process to suspend until woken by the WAKE statement.

If a timeout value is specified and the suspended process is not woken by a WAKE statement then the process will continue once the timeout period has expired.

If executing a WAKE statement for the process before the process executes the PAUSE statement then the PAUSE will be ignored and processing will continue until a subsequent PAUSE statement. 


Go back to jBASE BASIC

Was this article helpful?