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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71c41b6f4d72158c,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-13 09:09:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!151.189.0.75!newsfeed.arcor-online.net!newsfeed.r-kom.de!newsfeed.freenet.de!news.freenet.de!not-for-mail From: Jan Prazak Subject: if X in 1..35000 versus Boolean Date: Sat, 13 Jul 2002 18:10:50 -0100 Newsgroups: comp.lang.ada Message-ID: User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso885915 Content-Transfer-Encoding: 8bit X-Comment-To: ALL NNTP-Posting-Host: 213.7.142.75 X-Trace: 1026576582 news.freenet.de 23715 213.7.142.75 X-Complaints-To: abuse@freenet.de Xref: archiver1.google.com comp.lang.ada:27049 Date: 2002-07-13T18:10:50-01:00 List-Id: Hello, I have a simple question: does the compiler (I am using GNAT) "see", that if X in 1..35000 then is the same as if (X >= 1) and (X <= 35000) then ??? Or does the compiler really create an enumeration type with 35000 entries with values from 1 to 35000, just to check if X is in there??? Jan