RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.Sleep Function

Delay program execution for a specified number of milliseconds.

Pascal
procedure Sleep(milliseconds: Cardinal); stdcall;
C++
__stdcall Sleep(unsigned milliseconds);

Sleep pauses program executions as specified by the milliseconds parameter. Under Windows, Sleep is just a link to the Sleep function in the system API. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!