GLBasic User Manual

Main sections

SLEEP

SLEEP ms#



Stops the program for ms# milliseconds. (1/1000th of a second).

Example
LOADSOUND "Super.wav", 0, 1

PLAYSOUND (0, -1, 1)    // Play the sound
SLEEP 500                // delay for half a second
STOPSOUND 1                // Stop the sound

See also...