cf4.5 has short circuit boolean processing (i think thats what its
called...)
so in cf4.5 you can use:
<CFIF IsDefined('myvar') AND myvar IS "foo">
....
</CFIF>
where in cf4.0 you had to do:
<CFIF IsDefined('myvar')>
<CFIF myvar IS "foo">
....
</CFIF>
</CFIF>
Bert
> -----Original Message-----
> From: wish wish [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2000 15:51
> To: [EMAIL PROTECTED]
> Subject: if conditions evaluation in CF 4.0 and CF4.5
>
>
> a statement like :
> <cfif parameterexists(url.action) AND url.action IS "hello">
> ....
> </cfif>
>
> someone told me that CF 4.0 will evaluate both, even when the
> first one is
> false. and CF 4.5 will only evaluate the second one if the
> first is true.
> is this correct?
>
> thanks in advance
> ______________________________________________________________
> __________
> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.