comp.lang.ada
 help / color / mirror / Atom feed
* Re: new revision ada (exception handling)
@ 2004-06-25  9:48 Christoph Karl Walter Grein
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Karl Walter Grein @ 2004-06-25  9:48 UTC (permalink / raw)
  To: comp.lang.ada

> like the definition of Enumeration_IO.Get assumes that name ends can be
> recognized prior knowing names, though A.10.10(9) does not read it
> explicitly. Considering an enumeration type with images Red and Red1. Would
> it be legal according to A.10.10(9) to read Red; and then raise Data_Error?

If you read the chapter on inputting enumeration literals very carefully, you'll find that you have
 to read a sequence of input characters as long as the sequence is a legal sequence for Ada
identifiers. Only after reading characters has ended, you make a check whether this sequence is a
defined literal.

It is irrelevant how long the expected literals are.

So for instance when reading booleans, "trueanything.x" has to be read until the dot, leaving the dot
 and the x in the input stream. Then you compare trueanything to true and raise Data_Error.
__________________________________________________________________
Zeigen Sie Emotionen mit der WEB.DE Bild-SMS! Das Bild ist gratis,
Sie bezahlen nur den Versand. http://freemail.web.de/?mc=021196




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Typing in Ada
@ 2004-05-31 13:32 Empit
  2004-05-31 20:03 ` Peter C. Chapin
  0 siblings, 1 reply; 9+ messages in thread
From: Empit @ 2004-05-31 13:32 UTC (permalink / raw)


From typing point of view, how strong is Ada than C?

or

Which is the most strongly typed language.

Responses appreciated



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-06-25 17:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-25  9:48 new revision ada (exception handling) Christoph Karl Walter Grein
  -- strict thread matches above, loose matches on Subject: below --
2004-05-31 13:32 Typing in Ada Empit
2004-05-31 20:03 ` Peter C. Chapin
2004-06-02  1:30   ` Jeffrey Carter
2004-06-02 10:53     ` Peter C. Chapin
2004-06-02 11:38       ` Marin David Condic
2004-06-17  2:50         ` Dave Thompson
2004-06-17  4:24           ` James Rogers
2004-06-17 12:28             ` Hyman Rosen
2004-06-17 23:42               ` James Rogers
2004-06-20 11:27                 ` Nick Roberts
2004-06-20 23:29                   ` new revision ada Brian May
2004-06-22 10:38                     ` Georg Bauhaus
2004-06-22 12:45                       ` James Rogers
2004-06-22 15:17                         ` Martin Krischik
2004-06-22 16:09                           ` new revision ada (exception handling) Nick Roberts
2004-06-23  7:55                             ` Pascal Obry
2004-06-23  8:40                               ` Martin Krischik
2004-06-23 19:33                                 ` Randy Brukardt
2004-06-24  6:57                                   ` Martin Krischik
2004-06-24 21:13                                     ` Randy Brukardt
2004-06-25  8:05                                       ` Dmitry A. Kazakov
2004-06-25 17:28                                         ` Randy Brukardt

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