pause
Pauses script execution.
📝Syntax
state = pause()
pause(t)
pause(newState)
previousState = pause(newState)
currentState = pause('query')
📥Input Arguments
Parameter Description
t t: double value. time (seconds) before to continue.
newState a string: 'on' (enable pause) or 'off' (disable pause setting)
📤Output Arguments
Parameter Description
previousState, currentState a string: 'on' or 'off'
📄Description

pause(t) suspends execution for t seconds.

pause without input argument wait until return key is pressed.

💡Examples
an example
state = pause
echo('press return to continue.')
pause
pause('off')
pause
pause('on')
pause(5)
🔗See Also
sleep
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub