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,d9e62a9b5f6f9797,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-24 16:33:53 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: yokwad@yahoo.com (Keith) Newsgroups: comp.lang.ada Subject: boolean array Date: 24 Jan 2002 16:33:52 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1011918833 5526 127.0.0.1 (25 Jan 2002 00:33:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Jan 2002 00:33:53 GMT Xref: archiver1.google.com comp.lang.ada:19292 Date: 2002-01-25T00:33:53+00:00 List-Id: Hello, I want to know if there is any false element(s) in an array of booleans. Currently I am looping through the array and looking at each value until I find a false element. x := true; for i in foo'range loop -- foo'range < 8 x := foo (i); exit when not x; end loop; if x then ..... Is there a faster/preferred way of accomplishing this? I am compiling Ada 95 with Green Hills AdaMULTI for VxWorks running on x86. Thank you, Keith