1/31/00
COM1100 Winter2000 Yuhong Yin
8
Sleep() function
nThe Sleep function suspends the execution of the current program for a specified interval.
nSyntax : Sleep(sleep_time);
nsleep time is in milliseconds (0.001 sec)
nSleep(1000); // suspend for 1 second
nSleep(500); // suspend for 0.5 second
n