Sleep
void Sleep(int milliseconds)Description
Suspends the execution of the current thread for the specified amount of time, expressed in milliseconds.
Parameter
- milliseconds - The time interval to sleep, in milliseconds.
Example
void main()
{
Sleep(1000); // Pause for 1 second
}