HP 3000 Manuals

WAIT [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

WAIT 

The WAIT statement delays program execution.

Syntax 

WAIT [num_expr]

Parameters 

num_expr         Number of seconds that the program is delayed (can be a
                 REAL value).  If num_expr is not specified, the program
                 waits for a user interrupt, a CONTROL Y.

Examples 

     10 WAIT 120           !120 seconds (2 minutes)
     15 WAIT 0.5           !0.5 seconds
     20 WAIT Wait_time     !Number of seconds specified by Wait_time
     25 WAIT Wait_time+60  !One minute more than specified by Wait_time
     30 WAIT               !Until user interrupt (control-Y)



MPE/iX 5.0 Documentation