comp.lang.ada
 help / color / mirror / Atom feed
From: "CheGueVerra" <chegueverra@hotmail.com>
Subject: Re: Interger_io get and Text_io.Get_line
Date: Thu, 16 Oct 2003 21:15:01 -0400
Date: 2003-10-16T21:15:01-04:00	[thread overview]
Message-ID: <joHjb.5264$Z_2.429117@news20.bellglobal.com> (raw)
In-Reply-To: 9cHjb.3520$s93.924@newsread3.news.pas.earthlink.net

> 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





  reply	other threads:[~2003-10-17  1:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 20:12 Interger_io get and Text_io.Get_line CheGueVerra
2003-10-16 20:22 ` CheGueVerra
2003-10-16 23:31   ` Robert I. Eachus
2003-10-17  1:01   ` Jeffrey Carter
2003-10-17  1:15     ` CheGueVerra [this message]
2003-10-17  5:08     ` Anders Wirzenius
2003-10-17  5:59       ` Anders Wirzenius
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox