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-03 11:49:02 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!deine.net!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: Sun, 03 Mar 2002 19:54:21 +0100 Organization: privat Message-ID: References: <5ee5b646.0203030843.731d2948@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1015184842 02 31952 9vCuTQzXSCHU4w 020303 19:47:22 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/^ dewar@gnat.com (Robert Dewar) wrote: > Ouch! From heavy to heavier! > An array is clearly the obvious efficient solution here. You mean something like convert : constant array(characters) of symbols := ... sym : symbols; char : characters; and an assignment like "sym := convert(char)"? In this case, how I catch invalid characters? CU Lars Noschinski