pausePause execution
pausestate = pausepause(n)state = pause(n)n seconds. The execution will resume automatically when the time is up.pause('query')state = pause('query')pause(newState)state = pause(newState)newState. newState should be either 'on' or 'off', whose meanings are described in the table below:| State | Description |
|---|---|
on | Calling pause or pause(n) will pause the execution of the currently running program. |
off | Calling pause or pause(n) will have no effect. |
When the executed is paused, the user can tap the "Play" button shown below to resume the execution.
