There are bitwise functions for doing binary operations.  They all
start with 'bit'.  Note that you actually need a bit, not the integer
1, for it to work.

cheers,
barneyb

On 9/27/07, John Skrotzki <[EMAIL PROTECTED]> wrote:
> 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:289686
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to