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,74b013eedc5cbd6d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-26 10:05:48 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news-stoc.telia.net!217.209.241.210.MISMATCH!news-stod.telia.net!telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: "Andreas" Newsgroups: comp.lang.ada References: Subject: Re: Command line X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Mon, 26 Apr 2004 17:05:47 GMT NNTP-Posting-Host: 81.224.164.169 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1082999147 81.224.164.169 (Mon, 26 Apr 2004 19:05:47 CEST) NNTP-Posting-Date: Mon, 26 Apr 2004 19:05:47 CEST Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:7512 Date: 2004-04-26T17:05:47+00:00 List-Id: That's right, i use a simple call to Get, with sDate as argument. Get(sDate); Sorry "Marius Amado Alves" skrev i meddelandet news:mailman.8.1082998712.313.comp.lang.ada@ada-france.org... > procedure MyGet is > sDate : string(1..10); > e : exception; > begin -- ACTUAL CODE TO READ STUFF MISSING HERE, RIGHT? > ada.exceptions.raise_exception(e'identity,"Format_Error"); > > end; > > procedure Test is > begin > loop BEGIN > MyGet; > exception > when event: others => > ada.text_io.put(ada.exceptions.exception_message(event)); END > end loop; > end;