> watch(off)
> timeout = 10
> message('Pausing 10 seconds')
> result = wait()
> message('Resuming after pause, return code = ' + valtostr(result))
> timeout = 0
> message('Press any key')
> result = wait()
> message('Resuming after keypress, return code  = ' + valtostr(result))
> message('Press any key to terminate script')
> result = wait()
> end

