Delay procedure
PC Speaker sound routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
procedure Delay(MSec: Integer);  

Description
The Delay procedure delays a specified number of milliseconds. MSecs parameter specifies the number of milliseconds to wait.  
 
The Delay procedure is the same as the Sleep API routine and used for compatibility with old Pascal code.  

See also
Sound and NoSound procedures.