PAUSE Example


Example:

 

A

FORM

3

  

KEYIN

*N,"ENTER VALUE: ",A;

  

COMPARE

"1",A

  

IF

NOT LESS

  

PAUSE

A

  

ENDIF

 

 

If a value less than '1' is entered into A, the PAUSE does not occur. Otherwise, the program pauses for 'A' seconds.

 



PL/B Language Reference PATH Examples PERFORM Examples