LISTON Example


Example:

 

1. DATA

DIM

15

2.

LISTOFF

 

3.

INC

DATEINC

4.

LISTON

 

5. FORM1

FORM

1

 

If the program is coded as above and the list option is specified on the command line, lines 1, 4, and 5 would list on the printer during compilation while the included statements would not be listed. Program Execution Labels on the same instruction line as LISTON/LISTOFF are ignored.

 

 



PL/B Language Reference LIST Example LOAD Examples