by DoomHotel · 5y ago · 0 comments
PERFORM COUNT-ROWS VARYING COUNT FROM 1 BY 1 UNTIL EOF.
And the callee did:
READ INPUT-FILE AT END MOVE 1 TO EOF-FLAG.
1. No unnecessary periods in the code
2. Required periods (ending paragraphs and if/then/else) go on a line by themselves