home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
os2
/
cenv2_19.arj
/
WAIT.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-03-08
|
1KB
|
20 lines
@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)