*W (KEYIN and DISPLAY)


ANSI

*W[={seconds}]

 

The *W list control causes a pause of one second before continuing to the next list item.

 

The *W={seconds} list control causes a user-defined pause before continuing to the next list item. {seconds} may be from 0 to 255.

 

{seconds} may be a FORM variable with decimal digits to suspend program execution for periods of less than one second. Note that if a Linux OS is used that does not have APIs available to suspend a program for a period of time less than one second, the {seconds} value is truncated.

Example:

MS_100 FORM ".100"

.

            DISPLAY *W=MS_100; //100 milliseconds or .1 seconds

 

Under PLBWIN, if an event is pending or a SETMODE *SCREEN=OFF statement is active, the *W control is ignored.

 

 

See Also: List Controls (KEYIN and DISPLAY), List Controls (KEYIN), DISPLAY, KEYIN

 



PL/B Language Reference *VA (KEYIN and DISPLAY) *ZF (KEYIN and DISPLAY)