Syntax: wait()

The wait function is used to stop a Script from executing the next line of code until the number of seconds set in the function has completed.

Syntax

wait( Time )

Remarks:

Time - is the time in seconds to wait. Time must be a number or a variable that evaluates to a number. This parameter is required.

Note:

This function is useful if you want to sequence a number of events to happen one after the other. This function can be set to zero (i.e. wait(0) ), which is often used to give the system time to update the screen.

image\Script_Button.jpgExamples