From: sandrobinetti@yahoo.com (Sandro Binetti)
Subject: Re: boolean array
Date: 25 Jan 2002 05:51:22 -0800
Date: 2002-01-25T13:51:23+00:00 [thread overview]
Message-ID: <877f1a1d.0201250551.30a0ae11@posting.google.com> (raw)
In-Reply-To: b28112f8.0201241633.7baa1010@posting.google.com
yokwad@yahoo.com (Keith) wrote in message news:<b28112f8.0201241633.7baa1010@posting.google.com>...
> 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.
next prev parent reply other threads:[~2002-01-25 13:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-25 0:33 boolean array Keith
2002-01-25 13:51 ` Sandro Binetti [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-01-25 5:55 Christoph Grein
2002-01-25 20:37 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox