DIFFERENCE.
The implementation (which happens in java, a strongly typed langauge) has to
deal with the actual type of variables, by CF has no concept of boolean vs.
integer. This is a trait of loosely typed languages.
Personally, I consider it a helpful feature, though it can certianly be
viewed as 'buggy', even though it's an intentional design characteristic of
the language. It definitely has weird behaviour when you're letting the
language compiler/runtime do a bunch of implicit casting for you. However,
as long as your careful and understand what's happening, it's a great
benefit.
Cheers,
barneyb
> -----Original Message-----
> From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 20, 2004 3:34 PM
> To: CF-Talk
> Subject: Re: Is it a bug or not a bug?
>
> Agreed but it returns 20 and not true.
>
> Dave Carabetta wrote:
>
> > However, to Johnny Le's original question (at least, as I
> understood it),
> > the fact that it evaluates to a true condition (even if
> it's 20) is *not* a
> > bug.
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

