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,71c41b6f4d72158c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-19 17:37:55 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: if X in 1..35000 versus Boolean Date: 19 Jul 2002 17:37:55 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0207191637.7526810a@posting.google.com> References: NNTP-Posting-Host: 205.232.38.247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027125475 5737 127.0.0.1 (20 Jul 2002 00:37:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Jul 2002 00:37:55 GMT Xref: archiver1.google.com comp.lang.ada:27259 Date: 2002-07-20T00:37:55+00:00 List-Id: lutz@iks-jena.de (Lutz Donnerhacke) wrote in message news:... > The pascal set type is a array of Boolean. > > type Set is array (1 .. Natural'Size) of Boolean; > for Set'Size use Natural'Size; Please be careful not to recommend incorrect junk like this. If you don't know for sure what is correct and what is not correct, then *always* compile code snippets that you post to CLA. (I certainly don't trust myself to get things right and I always compile snippets, it's just too easy to make silly mistakes like the above one).