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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc745b8412f53f25 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-28 05:36:02 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news.netkonect.net!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Error-names. Date: Sat, 28 Feb 2004 13:35:25 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-129-139-123.in-addr.btopenworld.com X-Trace: sparta.btinternet.com 1077975325 29306 81.129.139.123 (28 Feb 2004 13:35:25 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sat, 28 Feb 2004 13:35:25 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:5923 Date: 2004-02-28T13:35:25+00:00 List-Id: > My problem now is that I also want to define return values for > exceptions like Constraint_Error. But I can't define something like: > > Constraint_Error : C_Integer := -3; You could change all the names round e.g. Error_Constraint Error_Routine_Not_Defined. etc. -- Martin