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,269df2c167555fd6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-23 08:44:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!nntp2.aus1.giganews.com!NetNews1!attws2!attor2!ip.att.net!news.hitter.net!news!news.crc.com!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Ada 0x: Re: Representation clause Date: Fri, 23 Feb 2001 08:57:36 -0600 Organization: CRC: A wholly owned subsidiary of Thermo Electron Message-ID: <975tn8$dke$1@hobbes2.crc.com> References: <3a95c52f@post.usenet.com> <3A95E095.75B2A248@worldnet.att.net> <3a9621eb$1@pull.gecm.com> <87hf1l1p15.fsf@deneb.enyo.de> NNTP-Posting-Host: 198.175.145.56 X-Trace: hobbes2.crc.com 982940200 13966 198.175.145.56 (23 Feb 2001 14:56:40 GMT) X-Complaints-To: abuse@crc.com NNTP-Posting-Date: 23 Feb 2001 14:56:40 GMT X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:5482 Date: 2001-02-23T14:56:40+00:00 List-Id: 'Image returns a string, while 'Rep would return a universal integer, so I don't see how my proposal would be confusing. The overloaded 'Value always returns a value of the enumeration type, regardless of whether the argument is a string or a universal integer. "Florian Weimer" wrote in message news:87hf1l1p15.fsf@deneb.enyo.de... > "David C. Hoos, Sr." writes: > > > I would suggest the attribute name 'Rep. Its inverse should be > > provided as well -- perhaps by overloading the 'Value > > attribute. > > In this case, you should use both 'Image and 'Value, otherwise it's > quite confusing.