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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no 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 02:01:58 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!nnx.oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) Date: Fri, 23 Jan 2004 10:18:59 +0100 Organization: Adalog Message-ID: 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> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1074852119 27753 195.25.228.57 (23 Jan 2004 10:01:59 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 23 Jan 2004 10:01:59 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:4695 Date: 2004-01-23T10:18:59+01:00 List-Id: "Robert A Duff" a �crit dans le message de news:wccd69bx2td.fsf@shell01.TheWorld.com... > "Jean-Pierre Rosen" writes: > > > "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 .... > > ... which is always False, even when System_Name = Whatever. ;-) > Of course, should be "WHATEVER".... Sigh, even in this case, everything posted should be tried on a compiler :-) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr