[thelist] ColdFusion MX and CFIF notation

Ben Dyer ben_dyer at imaginuity.com
Wed Nov 20 14:59:00 CST 2002


In ColdFusion 5, this:

   <CFIF Whatever.RecordCount>

used to be the equivalent of:

   <CFIF Whatever.RecordCount GT 0>

However, in ColdFusion MX, this no longer appears to be the case.  The
exact opposite appears to be true.  Does MX change this rule so that <CFIF
Whatever.RecordCount> is checking for the existence of the variable, rather
than a non-zero value of that variable?

If so, why?

(I've done some Googling on this and came up with nothing...)

--Ben




More information about the thelist mailing list