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!wn14feed!worldnet.att.net!12.120.4.37!attcg2!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: output of enumeration types Date: 18 Apr 2005 17:35:28 -0500 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1113863703 28802 192.135.80.34 (18 Apr 2005 22:35:03 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 18 Apr 2005 22:35:03 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:10545 Date: 2005-04-18T17:35:28-05:00 List-Id: In article , "Staszek Goldstein" writes: > 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. What is tedious ? The computer will do it for you. If there were a built-in Make_Roman function, the computer would still be doing the work.