home *** CD-ROM | disk | FTP | other *** search
- @echo OFF
- REM **************************************************************************
- REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
- REM *** ver.1 No check is done on the input being valid. ***
- REM *** This example would wait ten seconds: " Wait 10" ***
- REM *** This example uses the OS/2 system call to suspend ***
- REM *** processing, which is preferable to polling the current ***
- REM *** time. The ordinal for DosSleep (see DosCalls.lib) is ***
- REM *** 229. ***
- REM **************************************************************************
-
- CEnvi DynamicLink("doscalls",229,BIT32,CDECL,%1 * 1000)
-
- REM ********************************************************************
- REM *** The following method would have been an easier way to wait ***
- REM *** the same amount of time, but it wouldn't have been such fun. ***
- REM ********************************************************************
-
- REM CEnvi suspend(%1 * 1000)