I found this interesting enough to experiment with. I wrote a blog entry on it.
http://mkruger.cfwebtools.com/index.cfm/2005/8/15/dynamic%20eval -Mark -----Original Message----- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 12:57 PM To: CF-Talk Subject: RE: Not not() = function; not() = valid syntax? The issue has to do with "dynamic evaluation" between the pound signs. In CFMX you can do the following: #1+2# and it will output 3. You can get more complex as well - including logic as in #not true# (outputs no) #not false# (ouptputs yes) This illustrates how NOT is not a function but an operand. The parenthesese are incidental. #not true# is the same as #not (true)# or #not(true)# or the result of a function call #not isdefined('foo')#. In each case the result (if a scalar) is legal. In CF 5 and earlier this was not the case and would have required an "evaluation( )" encapsulation or a SET statement that gave the server a straight path, as in: <cfset tmp = not true><br/> not true = #tmp#<br> <cfset tmp = not(true)> not(true) = #tmp#<br> -Mark Mark A. Kruger, CFG, MCSE www.cfwebtools.com www.necfug.com http://mkruger.cfwebtools.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215016 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

