home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
cenvid
/
wait.bat
< prev
next >
Wrap
DOS Batch File
|
1993-07-17
|
808b
|
16 lines
@echo OFF
REM **************************************************************************
REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
REM *** No check is done on the input being valid. ***
REM *** This example would wait ten seconds: " Wait 10" ***
REM **************************************************************************
CEnvi " start=time(); while( difftime(time(),start) < %1 ) ; "
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)