The program uses the following COMPARE and BRANCH statements to make sure that all the lines of the screen have not been copied yet before executing the loop again:
COMPARE A1,&SCRNROWS BRANCH LE,ULOOP
The COMPARE statement compares the value of A1 to the total number of rows on the screen (&SCRNROWS). As long as A1 is less than or equal to (LE) the number of rows on the screen, the program will execute the loop again to copy another line of the screen.
|
Copyright © 2013 CA.
All rights reserved.
|
|