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

Returns

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 )