COBOL If and End If
If and End-If Example Number 1
004310 004320 IF X > 10 004400 MOVE 5 TO Y 004430 END-IF. 004440
If and End-If Example Number 2
004310 004320 IF X > 10 004330 IF Y > 10 004340 MOVE 5 TO Z 004350 ELSE 004360 MOVE 3 TO Z 004370 END-IF 004380 ELSE 004390 MOVE 1 TO Z 004400 END-IF. 004440
| Comments Comments are left by visitors to FluffyCat.com and may or may not be accurate. |
| Comment by rslitman on 2013-05-22 Rate this Comment |
I'm glad to see indentations of four spaces at each level.
|
| Sign in to comment on COBOL If and End If. |