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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9ce828272f314121,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!newsfeed-0.progon.net!progon.net!newsfeed.icp.pl!newsfeed.atman.pl!news2.icm.edu.pl!not-for-mail From: "Staszek Goldstein" Newsgroups: comp.lang.ada Subject: output of enumeration types Date: Tue, 19 Apr 2005 00:04:04 +0200 Organization: http://news.icm.edu.pl/ Message-ID: NNTP-Posting-Host: systemy230.toya.net.pl X-Trace: achot.icm.edu.pl 1113861820 3544 217.113.225.230 (18 Apr 2005 22:03:40 GMT) X-Complaints-To: abuse@icm.edu.pl NNTP-Posting-Date: Mon, 18 Apr 2005 22:03: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:10544 Date: 2005-04-19T00:04:04+02:00 List-Id: I have got the following problem: having defined type roman_digit is ('I','V','X','L','C','D','M'); type roman_number is array (positive range <>) of roman_digit; I want to print, say, "MMV" of type roman_number on the standard output. I have no idea how to do it, at least without tedious step-by-step conversion routines between roman numbers and strings.Can you help me?