Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Suspend execution of a program for a certain time.


Source position: osutilsh.inc line 31

procedure Sleep(

  milliseconds: Cardinal



Sleep suspends the execution of the program for the specified number of milliseconds (milliseconds). After the specified period has expired, program execution resumes.

Remark: The indicated time is not exact, i.e. it is a minimum time. No guarantees are made as to the exact duration of the suspension.

Documentation generated on: Jul 24 2023