guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Ashish,
Eject:It is a printer command to print the next statement onwards at the top of the next page.
Continue:It will take u to next logical stmt.
Code: |
PERFROM 1000-PARA VARYING I FROM 1 BY 1 UNTIL I= 10 .
PERFORM 2000-PARA.
1000-PARA.
IF I =5
CONTINUE/NEXT SENTENCE
END-IF.
2000-PARA.
DISPLAY I. |
In the above code if we code continue then when I=5 it wont come out from the loop & it will execute for I=6 till I= 10 & then it will execute 2000-PARA & will display 10 but if we code next sentence it will come out from the loop & execute 2000-PARA. in that case it will display 5. |
|