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-Thread: 103376,9ce828272f314121 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.pionier.net.pl!news2.icm.edu.pl!not-for-mail From: "Staszek Goldstein" Newsgroups: comp.lang.ada Subject: Re: output of enumeration types Date: Tue, 19 Apr 2005 01:35:37 +0200 Organization: http://news.icm.edu.pl/ Message-ID: References: NNTP-Posting-Host: systemy230.toya.net.pl X-Trace: achot.icm.edu.pl 1113867340 10278 217.113.225.230 (18 Apr 2005 23:35:40 GMT) X-Complaints-To: abuse@icm.edu.pl NNTP-Posting-Date: Mon, 18 Apr 2005 23:35:40 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Priority: 3 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MSMail-Priority: Normal Xref: g2news1.google.com comp.lang.ada:10548 Date: 2005-04-19T01:35:37+02:00 List-Id: Maybe I should make myself clearer. I find it very inelegant to write something like: function conversion(rm: roman_digit) return character is begin case rm is when 'I' => retunrn 'I'; when 'V'=>retrun 'V'; and so on, and then to construct a routine for conversion of a roman number to a string using the function. Is there any better way?