Re: OO's best feature survey results

From: Dave Harris (brangdon_at_cix.co.uk)
Date: 10/31/03


Date: Fri, 31 Oct 2003 21:27 +0000 (GMT Standard Time)

alfredo@ncs.es (Alfredo Novoa) wrote (abridged):
> You always need the boolean type.
>
> if a = '1' then
> ...
>
> a = '1' returns a boolean value.
>
> How would you solve this?

Treat the empty string as false and all others as true. That's not far
different to how C turns ints and pointers into booleans.

-- Dave Harris, Nottingham, UK