From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b2046241520981f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-26 19:46:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 26 Jul 2003 21:46:12 -0500 Date: Sat, 26 Jul 2003 21:46:17 -0500 From: Wesley Groleau Reply-To: wesgroleau@myrealbox.com Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada 0x, exception idea ? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 216.117.18.60 X-Trace: sv3-UEhpywhint2s3ZVuEDz39FHJ8RavB7LUVOxevgc09Knzk5+pX9PxORkpjs5f/bTjoHVtGopKDn1bfU6!mVQx7vuPMmyfL7NGC3To1S0vbXbuMqnj5l3hEcWdOm7d6yWYwRhB8Nv816zlfqhA3AZlUNNNCk5F!JmCV X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:40856 Date: 2003-07-26T21:46:17-05:00 List-Id: > The mostly "C" world I live in, where I have to interface Ada to the > underlying operating environment, almost always uses a return code > of some kind. Legal Ada 95 example: case C_function (params) is when 0 => null; -- success when Bummer => raise Its_a_Bummer; when Darn => raise Darn_it; when Blast => raise Blast_It; when Disaster => raise Program_Error; ....... Ada 95 does have exit when ; and some folks thought raise when ; should be there as well. But it was rejected.