Simon Brunning wrote:
> On 12 Jul 2006 11:14:43 -0700, John Henry <[EMAIL PROTECTED]> wrote:
> > Is there a more elagant way of doing this?
> >
> > # logflags is an array of logicals
> > test=True
> > for x in logflags:
> >    test = test and x
> > print test
>
> min(logflags)
>

!!!


> I feel dirty now. ;-)
>

ROFL

Thanks to everybody that replied.


> --
> Cheers,
> Simon B,
> [EMAIL PROTECTED],
> http://www.brunningonline.net/simon/blog/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to