View previous topic :: View next topic
|
Author |
Message |
priya_gmain
New User
Joined: 18 Sep 2006 Posts: 7
|
|
|
|
Hi ,
Y do we mention EXIT at the end of the paragraph and what is the use of it. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
The EXIT verb in COBOL does not produce an EXIT instruction in the object program - it is ignored, but is maintained for documentation purposes only. Whenever a section is PERFORMed COBOL will generate its own (hidden) EXIT instruction when the next section-name is encountered. |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
logically there is no differece between an Exit or a Continue statement except that when EXIT is coded, it should be the only statement in the paragraph.
~Vamsi |
|
Back to top |
|
|
|