Program Execution Labels


ANSI

 

Program Execution Labels are execution points identified by a valid LABEL definition that has not been previously used as execution points (unless a local LABEL). Program Execution Labels must adhere to the following rules:

 

Note the following example:

 

1 RESET0

MOVE

"0" TO PAGECNTR

  ADDONE

 

 

2

ADD

"1" TO PAGECNTR

3

COMPARE

"60" TO PAGECNTR

4

GOTO

ADDONE IF LESS

5

GOTO

RESET0

 

The Program Execution Labels RESET0 and ADDONE reference lines 1 and 2 respectively and are referenced by 5 and 4 respectively. Program Execution Labels may be alone on a line or may precede a valid PL/B operation. All PL/B operations between Program Execution Labels are associated with the preceding Program Execution Label.

 

 

See Also: Instruction Syntax

 



PL/B Language Reference Data Definition Labels Comment Instructions