From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: Converting Char to Enum
Date: Tue, 5 Mar 2002 14:15:27 -0600
Date: 2002-03-05T14:15:27-06:00 [thread overview]
Message-ID: <mailman.1015358942.11811.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: Xns91C8AC299844ELars17NoCBW@larsno.fqdn.th-h.de
----- Original Message -----
From: "Lars Noschinski" <lars@usenet.noschinski.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Tuesday, March 05, 2002 9:55 AM
Subject: Re: Converting Char to Enum
<snip>
> So if I want to output only the character without the quotes, I have
> to convert it to string? In the case of type symbols with an
> indirection through type character, of course.
No, characters can be output with Text_IO.Put (e.g.), instead of
an instantiation of Text_IO.Enumeration_IO, in which case just
the character will be output.
>
> BTW: Which online book/tutorial has a good explanation of the
> possibilities of type conversion in Ada? After doing PHP for a few
> weeks, I really see the advantages of a strong type system, but it
> needs some time to get familiar with it.
>
>
> CU Lars Noschinski
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>
next prev parent reply other threads:[~2002-03-05 20:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-02 18:17 Converting Char to Enum Lars Noschinski
2002-03-03 1:15 ` sk
2002-03-03 16:43 ` Robert Dewar
2002-03-03 18:54 ` Lars Noschinski
2002-03-03 20:07 ` Larry Kilgallen
2002-03-03 20:21 ` Lars Noschinski
2002-03-03 22:46 ` Larry Kilgallen
2002-03-04 6:55 ` Jeffrey Carter
2002-03-03 20:13 ` tmoran
2002-03-03 6:30 ` tmoran
2002-03-04 11:01 ` sk
[not found] ` <3C835426.DA864199@myob.com>
2002-03-04 12:48 ` David C. Hoos, Sr.
2002-03-04 16:36 ` Lars Noschinski
2002-03-04 23:17 ` David C. Hoos
2002-03-05 15:55 ` Lars Noschinski
2002-03-05 20:15 ` David C. Hoos [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-06 6:23 Christoph Grein
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox