Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From the PB8 online books: Sleep

Status
Not open for further replies.

mbalent

Programmer
Sep 20, 2001
853
0
16
US
From the PB8 online books:

Sleep
Description
Causes the application to pause for a specified time.
Syntax
Sleep ( seconds )
Argument
Description
seconds
Long for the number of seconds you want the application to pause
Return values
Integer. Returns 1 if the function succeeds and -1 if an error occurs.
Examples
Example 1
This example pauses the application for 5 seconds:
Sleep ( 5 )
 
Do you know of a way to have an application "sleep" for less that 1 second given that the Sleep() function takes a long argument?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top