Wait (seconds) -  ver 1.01, 2011 by Horst Schaeffer
---------------------------------------------------

Syntax: 
        Wait seconds cancelKey ["message"]

Stop execution of a console script and wait (number of seconds); cancel by key.
Seconds can be specified with decimal point, e.g. 1.88 to compensate for 
command execution time (in case this is relevant for your application).

cancelKey:
        ESC, CR
        or decimal ascii key value (at least 2 digits required), example: 09
        or character key: one letter (case sensitive) or symbol, example: A
        (double) quote marks allowed, e.g. "a"

        If no cancelKey is specified, any key will cancel.
        With an invalid key (like: NO, 555, 00 or -1), cancelling is disabled. 

message: 
        any text enclosed in (double) quote marks is displayed before waiting.

Example:
        wait 10 ESC "Waiting 10 seconds; ESC to continue"

Errorlevel: 
        0: not cancelled, else value of key that cancelled

PureBasic source:
         http://home.mnet-online.de/horst.muc/source/wait101.zip


14 Mar 2011
mailto:horst.schaeffer@gmx.net
