Sleep

Parent Previous Next

Sleep

Function to suspend the current thread for the specified number of milliseconds.


Syntax:

Void Sleep(int millisecondsTimeout);
Suspends the current thread for the specified number of milliseconds.


Params:

int millisecondsTimeout: An Integer parameter containing the number of milliseconds for which the thread is suspended.


Example:


Suspends the current thread for 10 seconds:

  


SVApplications.Sleep(10000);