View Single Post
  #2  
Old 05-17-2004, 08:15 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,025
Sleep is provided by the Windows Script Host (WSH) and is not available in VBP (which is a script host itself and does not use WSH). To get a one second delay, you could use:

Wait 1

Function Wait(sec)
start = Timer
Do While Timer-start < sec
' no-op
Loop
End Function
Reply With Quote