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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d9e62a9b5f6f9797 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-25 05:51:24 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: sandrobinetti@yahoo.com (Sandro Binetti) Newsgroups: comp.lang.ada Subject: Re: boolean array Date: 25 Jan 2002 05:51:22 -0800 Organization: http://groups.google.com/ Message-ID: <877f1a1d.0201250551.30a0ae11@posting.google.com> References: NNTP-Posting-Host: 195.223.220.65 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1011966683 23587 127.0.0.1 (25 Jan 2002 13:51:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Jan 2002 13:51:23 GMT Xref: archiver1.google.com comp.lang.ada:19304 Date: 2002-01-25T13:51:23+00:00 List-Id: yokwad@yahoo.com (Keith) wrote in message news:... > 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 foo/=(foo'range=>TRUE) then ... Bye, Sandro.