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);

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!