looking for a boolean result then why would you use 5*4 in an _expression_?
Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770
_____
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 3:24 PM
To: CF-Talk
Subject: Re: Is it a bug or not a bug?
>>it'll return the last value evaluated in the _expression_.
This IS the bug: it should return the type implied by the operator in the
_expression_.
in true and 4*5, CF has a boolean and a boolean operator, It thus has to
evaluate 4*5, THEN convert it to a boolean in order to complete the boolean
operation.
Finally it has to evaluate (true AND true) and return the result true, not
20.
There is loosely and too loosely, and too loosely is lousy ;-)
_______________________________________
See some cool custom tags here:
http://www.contentbox.com/claude/customtags/tagstore.cfm
Please send any spam to this address: [EMAIL PROTECTED]
Thanks.
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

