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 X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-23 04:59:49 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!newshosting.com!nx02.iad01.newshosting.com!diablo.voicenet.com!167.206.3.103.MISMATCH!news3.optonline.net!pd7cy1no!pd7cy2so!shaw.ca!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail Message-ID: <40111AC2.7010802@noplace.com> From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) References: <49cbf610.0401170627.79c3dfe5@posting.google.com> <400A9B48.3060100@noplace.com> <400BD4B5.6000307@noplace.com> <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <400FC65B.2020006@noplace.com> <3vioub.jvt.ln@skymaster> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 23 Jan 2004 12:59:49 GMT NNTP-Posting-Host: 209.165.26.148 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1074862789 209.165.26.148 (Fri, 23 Jan 2004 04:59:49 PST) NNTP-Posting-Date: Fri, 23 Jan 2004 04:59:49 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:4703 Date: 2004-01-23T12:59:49+00:00 List-Id: O.K. So there's a trick to get around it. (Do we call this "The Other Rosen Trick"? :-) Is Name'Image guaranteed to be in a given character case? (I've not checked that recently & must have forgot.) That may eliminate one possible problem, but it really doesn't help make this feature useful. It still only helps at run time and I could have done that with a package of my own. If it doesn't let you branch around things that won't compile for a given configuration, then it really is mostly useless. MDC Jean-Pierre Rosen wrote: > "Marin David Condic" a �crit dans le message de news:400FC65B.2020006@noplace.com... > >>1) With it being an enumeral, unless *ALL* implementations use the same >>ones, I have code that won't compile, right? > > Wrong. If you prefer it as string, you can always write: > If Name'Image (System_Name) = "Whatever" then .... > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "Face it ladies, its not the dress that makes you look fat. Its the FAT that makes you look fat." -- Al Bundy ======================================================================