next up previous contents
Next: void msleep(long msec) Up: 9.3 Time Commands Previous: float seconds()

void sleep(float sec)

Waits for an amount of time equal to or slightly greater than sec seconds. sec is a floating point number.


    /*  wait for 1.5 seconds  */

Fred G. Martin
Fri Mar 29 17:44:15 EST 1996