Delay                                                                                                      Statement

 

DELAYsec

 

Description

Puts the program into a wait state for sec seconds.

 

The sec variable may be a floating point variable with decimal fractions. In fact, a value for sec of under 1 second is allowable.(e.g. DELAY 0.25 would delay a quarter second)

 

Example

Delay 1 'delays 1 second

Delay 2.5 'delays 2 and a half seconds