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 )
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 )