Make that

x - 1 is false
y - 1 is true (!)

I must be developing vertical dyslexia or something.

--- Greg Woodhouse <[EMAIL PROTECTED]> wrote:

> But I think that misses the point. It's not an issue of a *variable*
> having a value that may be true and may be false, but of a *value*
> being neither true nor false.
> 
> 
> Another (IMO, more problematic) issue is this: If we take 0 to mean
> false and non-zerto to mean true, then if x = 1 and y = 2, then we
> have
> 
> x is false
> y is false
> x - 1 is true
> y - 1 is false (!)
> 
> so the normal arithmetic operators are not even well-defined over
> Boolean values.
> 



===
Gregory Woodhouse  <[EMAIL PROTECTED]>



"Perfection is achieved, not when there is nothing more
to add, but when there is nothing left to take away."
-- Antoine de Saint-Exupery











-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to