System.SysUtils.Sleep
Delphi
procedure Sleep; external kernel32 name 'Sleep'; stdcall;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | external public | System.SysUtils.pas | System.SysUtils | System.SysUtils |
Description
Delay program execution for a specified number of milliseconds.
Sleep pauses program executions as specified by the milliseconds parameter. Under Windows, Sleep is just a link to the Sleep function in the API system.