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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9adb0110470c093d X-Google-Attributes: gid103376,public From: Preben Randhol Subject: Re: Safely converting String to Float ? Date: 1999/11/03 Message-ID: #1/1 X-Deja-AN: 543987288 References: <7vpj5s$ul8$1@nnrp1.deja.com> X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 941644011 58 129.241.83.82 (3 Nov 1999 15:46:51 GMT) Organization: ProgramVareVerkstedet NNTP-Posting-Date: 3 Nov 1999 15:46:51 GMT Newsgroups: comp.lang.ada Date: 1999-11-03T15:46:51+00:00 List-Id: Robert Dewar writes: | If this dumps core, you have an installation problem. This | program should raise Data_Error and certainly does when I | run it: | | raised ADA.IO_EXCEPTIONS.DATA_ERROR : a-tiflau.adb:88 Hmm. I have only installed the Gnat 3.12p RPM from http://www.gnuada.org/rpms312p.html Maybe I forgot to install something. | Of course since you have no handler for data error, the | program is terminated. Go study the use of exception handlers | in whatever text or tutorial you are reading, that's what you | need here! Yes, but you'r saying that it should not dump core even if I don't use exceptions here, right? -- Preben Randhol Affliction is enamoured of thy parts, [randhol@pvv.org] And thou art wedded to calamity. [http://www.pvv.org/~randhol/] -- W. Shakespeare