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 Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.icp.pl!news.ipartners.pl!not-for-mail From: Szymon Guz Newsgroups: comp.lang.ada Subject: Re: output of enumeration types Date: Tue, 19 Apr 2005 09:49:41 +0200 Organization: Internet Partners Message-ID: References: <1gv02c5pwbx1e$.sugmeiie353z$.dlg@40tude.net> NNTP-Posting-Host: dns2.e-box.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news2.ipartners.pl 1113896976 95635 217.153.9.251 (19 Apr 2005 07:49:36 GMT) X-Complaints-To: abuse@ipartners.pl NNTP-Posting-Date: 19 Apr 2005 07:49:36 GMT In-Reply-To: <1gv02c5pwbx1e$.sugmeiie353z$.dlg@40tude.net> X-Accept-Language: pl, en-us, en User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) Xref: g2news1.google.com comp.lang.ada:10562 Date: 2005-04-19T07:49:36+00:00 List-Id: Dmitry A. Kazakov napisa�(a): > On Tue, 19 Apr 2005 00:04:04 +0200, Staszek Goldstein wrote: > > >>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; > > > But Roman number is not an array of letters. As others have pointed out 'I' > is not a digit. It can represent or not a decimal position depending on the > context. For example in 'XIII', the "digits" are 'X' and 'III'. Anyway it > should rather be: > > type Roman_Number is range 1..3999; > Well, I can't see your point, why 1..3999 ? regards Szymon Guz