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-18 01:11:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.27.83.146!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: if X in 1..35000 versus Boolean Date: Thu, 18 Jul 2002 08:11:43 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1026979903 6559 217.17.192.37 (18 Jul 2002 08:11:43 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Thu, 18 Jul 2002 08:11:43 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:27214 Date: 2002-07-18T08:11:43+00:00 List-Id: * Jan Prazak wrote: >On Tue, 16 Jul 2002 10:13:26 -0100, Lutz Donnerhacke wrote: >> procedure t is >> type Offset is range 0 .. 20; [array of Boolean] > >No one said that it's not possible to create a similar thing in Ada, but >sets simply doesn't exist there (but they are also not necessary). The pascal set type is a array of Boolean. type Set is array (1 .. Natural'Size) of Boolean; for Set'Size use Natural'Size;