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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1458d1793850de4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 18:29:56 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "CheGueVerra" Newsgroups: comp.lang.ada References: <9cHjb.3520$s93.924@newsread3.news.pas.earthlink.net> Subject: Re: Interger_io get and Text_io.Get_line X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Thu, 16 Oct 2003 21:15:01 -0400 NNTP-Posting-Host: 67.68.219.237 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1066353295 67.68.219.237 (Thu, 16 Oct 2003 21:14:55 EDT) NNTP-Posting-Date: Thu, 16 Oct 2003 21:14:55 EDT Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:1040 Date: 2003-10-16T21:15:01-04:00 List-Id: > Things get even worse if you make an error entering the number. Try > entering "X" for the number and see what you get. For this reason, > getting numeric input is usually best done be getting a string, then > using 'Image or Get from the numeric IO packages in Text_IO to extract > the number. This should be done inside a block to handle exceptions from > illegal input, and that should be inside a block to give the user > multiple tries to get it right. He he he, I think you saw me coming, for now I'm concetrating on getting most of the things working with valid data, but data control posts will be coming for sure... CheGueVerra