comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan Skoglund <stetson@ebox.tninet.se>
Subject: Re: input/output exceptions
Date: Sat, 16 Dec 2000 21:00:37 +0100
Date: 2000-12-17T19:56:28+00:00	[thread overview]
Message-ID: <3A3BC9E5.52FC0AAB@ebox.tninet.se> (raw)
In-Reply-To: 90dp4s$45c$1@nnrp1.deja.com

Robert Dewar wrote:
> > think) and parsing ends at EOL because EOL isn't part of the
> > domain of naturals !
> 
> EOL is not a character! You are thinking at too low a level.
EOL={CR|CRNL|NL}

> > 453 in first, starts parsing at 'a' !
> > BANG, 'a' isnt in the domain of natural numbers !! -> throw
> > exception !!
> 
> Yes, of course. What are the !! marks here for? This is
> of course what is expected. What's your point?

Someone didn't understand this pecularity of scanf and
Integer_IO.Get.
:-)




      parent reply	other threads:[~2000-12-16 20:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-18  0:00 input/output exceptions Jean Cohen
2000-11-18  0:00 ` Robert Dewar
2000-11-18  0:00   ` Amal Kurian
2000-11-18  0:00     ` DuckE
2000-11-18  0:00       ` Amal Kurian
2000-11-19  0:00         ` Robert Dewar
     [not found]           ` <3A28353B.40B4F990@ebox.tninet.se>
     [not found]             ` <90dp4s$45c$1@nnrp1.deja.com>
2000-12-16 20:00               ` Stefan Skoglund [this message]
replies disabled

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