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,8623fab5750cd6aa X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!wn12feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Enum'Image (Was: Improving Ada's image) Date: 23 Jun 2004 11:15:32 -0600 Organization: LJK Software Message-ID: <2H1mAPtnuGGi@eisner.encompasserve.org> References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1088007279 4561 192.135.80.34 (23 Jun 2004 16:14:39 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 23 Jun 2004 16:14:39 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:1814 Date: 2004-06-23T11:15:32-06:00 List-Id: In article , "Alexander E. Kopilovich" writes: >> > Enum'Image(My_Variable, Verbatim) > But even the possibility of Verbatim seems somehow doubtful because it will > slightly violate the rule of case insensitivity for names in Ada programs. > That is, with this Verbatim option the behaviour of a program can depend on > the case of the letters used inside the names in enums. One can argue that > those names in enums resemble literals and therefore the case insensitivity > rule should not be applied to them, but this is a problematic issue, I think. I was under the impression that the only situations where people cared about cases of enumerals were when it was converted to a string. This does not seem a departure from: IF "ABC" = "abc" THEN NULL; -- never gets here ENDIF;