NOT 0 should return 1 not yes.
Never.
NOT is a logical operator and returns a logical value, ie: yes or no
Since NOT applies to a logical value, 1 is first converted to no, then NOT
returns yes.
--
___
REUSE CODE! Use custom tags;
See http
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
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
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 cf-talk@houseoffusion.com
Sent: Thursday, September 27, 2007 2:56 PM
Subject: NOT 0 = no?!?! and NOT 1 = yes?!?!
I am trying
4 matches
Mail list logo