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=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,799e6e37c90ca633 X-Google-Attributes: gid103376,public From: r_barton1@hotmail.com Subject: Re: Future Ada language revisions? Date: 1998/10/06 Message-ID: <6vd5pp$i2n$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 398245860 References: <6um7on$db5$1@nnrp1.dejanews.com> <6v9es0$bnv$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x6.dejanews.com:80 (Squid/1.1.22) for client 192.220.128.15 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Oct 06 13:26:17 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Lynx/2.7.1ac-0.44 libwww-FM/2.14 Date: 1998-10-06T00:00:00+00:00 List-Id: In article , Martin Dowie wrote: > > Would it be feasible to extend the specification for subprograms to > include a list of exceptions that can also be 'returned' from a > subprogram? here's an example using of what i'm driving at (hopefully > it's self explanatory) - > > function Blah return Boolean > or exception Some_Exception; Modula-3 does something pretty close to this. It's written as: PROCEDURE P (param: ParamType) : ReturnType RAISES {Except1, Except2}; -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own