'===========================================================================
' Subject: DELAY FOR PB/CC AND PB/DLL         Date: 07-17-98 (16:27)       
'  Author: Dave Navarro, Jr.                  Code: PBCC, PBDLL            
'  Origin: dave@powerbasic.com              Packet: PBCC.ABC
'===========================================================================
'===========================================================================
'
'  DELAY for PB/CC 1.0 and PB/DLL 5.0
'  Released to the public domain.
'  by Dave Navarro (dave@powerbasic.com)
'
'  Requires Sleep DECLARE from WIN32API.INC
'
'===========================================================================

'
'  Seconds - the number of seconds to delay execution.  Accepts floating
'            point so that you can specify 1.5 to delay for one and a half
'            seconds.
'

SUB Delay(BYVAL seconds AS SINGLE)

  Sleep CLNG(seconds * 1000)

END SUB
