home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / cenvi29.zip / WAIT.CMD < prev    next >
OS/2 REXX Batch file  |  1994-03-08  |  1KB  |  20 lines

  1. @echo OFF
  2. REM **************************************************************************
  3. REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
  4. REM *** ver.1      No check is done on the input being valid.              ***
  5. REM ***            This example would wait ten seconds: " Wait 10"         ***
  6. REM ***            This example uses the OS/2 system call to suspend       ***
  7. REM ***            processing, which is preferable to polling the current  ***
  8. REM ***            time.  The ordinal for DosSleep (see DosCalls.lib) is   ***
  9. REM ***            229.                                                    ***
  10. REM **************************************************************************
  11.  
  12. CEnvi DynamicLink("doscalls",229,BIT32,CDECL,%1 * 1000)
  13.  
  14. REM ********************************************************************
  15. REM *** The following method would have been an easier way to wait   ***
  16. REM *** the same amount of time, but it wouldn't have been such fun. ***
  17. REM ********************************************************************
  18.  
  19. REM CEnvi suspend(%1 * 1000)
  20.