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,436ac666600e5ab3 X-Google-Attributes: gid103376,public From: randhol+nospam@pvv.org (Preben Randhol) Subject: Re: Exception Handling Date: 2000/06/01 Message-ID: #1/1 X-Deja-AN: 629816431 References: <3HCY4.29157$sB3.10828@news.indigo.ie> <3933DAF3.35F40B3A@utech.net> X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 959854523 29755 129.241.83.82 (1 Jun 2000 10:15:23 GMT) Organization: Norwegian university of science and technology User-Agent: slrn/0.9.6.2 (Linux) NNTP-Posting-Date: 1 Jun 2000 10:15:23 GMT Newsgroups: comp.lang.ada Date: 2000-06-01T10:15:23+00:00 List-Id: On 1 Jun 2000 09:57:36 GMT, Preben Randhol wrote: >Would it be OK to trap an erronious entry (like "2.3W-4") with an >exception or would you make an extra check before trying to convert the >string to a float (or the appropriate class). ^^^^^ ARG!! I really must get some more sleep. I mean type, not class. -- Preben Randhol -- [randhol@pvv.org] -- "Det eneste trygge stedet i verden er inne i en fortelling." -- Athol Fugard