CF uses the 'short circuit' approach to evaluating AND. So, when CF evals (foo AND goo) if foo is false, no need to look at goo at all.
D On Apr 7, 2005 8:09 AM, daniel kessler <[EMAIL PROTECTED]> wrote: > > That worked, but I'm surprised that it worked. I guess it checks one, then > the other. > > thanks! > > ><cfif StructKeyExists(URL,'group') AND url.group NEQ 'me'> > >do something here</cfif> > > > ></cfif> > > > >On Apr 7, 2005 11:59 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote: > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201851 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

