HP3000-L Archives

February 2004, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tracy Pierce <[log in to unmask]>
Reply To:
Tracy Pierce <[log in to unmask]>
Date:
Mon, 9 Feb 2004 11:20:48 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
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 *

ATOM RSS1 RSS2