I just did a test and this works: #Int(not 0)# returns 1 #Int(not 1)# returns 0
-- Josh ----- Original Message ----- From: "John Skrotzki" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Thursday, September 27, 2007 2:56 PM Subject: NOT 0 = "no"?!?! and NOT 1 = "yes"?!?! >I am trying to flip a bit and just discovered that the NOT operator does >not flip it bitwise? NOT 0 should return 1 not "yes". Is there a shortcut >or do I have to resort to a cfif statement for such a trivial thing???? > > CF 7.2 > Windows IIS6 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

