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 value

Integer.

Returns 1 if the function succeeds and -1 if an error occurs.

Examples

This example pauses the application for 5 seconds:

Sleep ( 5 )