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-22 10:20:49 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) Date: 22 Jan 2004 13:20:46 -0500 Organization: The World Public Access UNIX, Brookline, MA 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: pip1-5.std.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: pcls4.std.com 1074795646 30512 192.74.137.185 (22 Jan 2004 18:20:46 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 22 Jan 2004 18:20:46 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:4666 Date: 2004-01-22T13:20:46-05:00 List-Id: "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. ;-) - Bob