Subject: | |
From: | |
Reply To: | |
Date: | Mon, 9 Feb 2004 11:20:48 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Despite its 'extension' status, I like to use GOBACK "everywhere" meaning
subprogram exits and mainprogram exits, because it's consistent.
the docs claim that EXIT PROGRAM is a no-op in a main program, which could
be a little annoying.
Tracy Pierce
> -----Original Message-----
> From: Walter Murray [mailto:[log in to unmask]]
> Sent: Monday, February 09, 2004 11:12 AM
> To: [log in to unmask]
> Subject: COBOL question: EXIT PROGRAM vs. GOBACK
>
>
> 2004-02-08
>
> [this question also posted to sigcobol]
>
> HP COBOL provides two ways to return from a subprogram. EXIT
> PROGRAM is
> [1985] ANSI Standard COBOL. GOBACK is an extension.
>
> I'm curious to hear thoughts about whether people favor one
> statement over
> the other, and why.
>
> Walter
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|