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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37956b356498633 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-04 12:22:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Lars Noschinski Newsgroups: comp.lang.ada Subject: Re: Converting Char to Enum Date: Mon, 04 Mar 2002 17:36:48 +0100 Organization: privat Message-ID: References: <3C835426.DA864199@myob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1015273225 05 10784 9KouTgoTSpHgAw 020304 20:20:25 X-Complaints-To: abuse@t-online.com X-Sender: 028324156-0001@t-dialin.net User-Agent: Xnews/5.01.10 Hamster/1.3.23.1 X-Face: oM?#2"Er>_m_51.+2hz{m@^#yG{>M@3EkUQNbo>r_"n*f=F`1:PdT'~lt?9y(cJ6@m%Tkt&,kd2S7~Z:=}Z(,.Jw:S[icuY'@zQ)1/^ "David C. Hoos, Sr." wrote: > I think the reason that V'alue and 'Image are not appropriate > for the original poster's case is that his case was a subset of > the type Character. | type Symbols is ('0', '1', 'B', 'T', 'U'); Is that really a subset of character? I'm asking, because the following code prints "'0'", "'B'" etc. and not "0", "B". -------------------------------------------------------------------- procedure Put_Symbol(sym : symbol) is package TIO is new Ada.Text_Io.Enumeration_Io(Symbols); begin -- Put_Symbol TIO.Put(Sym); end Put_Symbol. -------------------------------------------------------------------- CU Lars Noschinski