Dave,

In the single users version of CF5.0 running on my windows pc under XP,
trying to say a=yes or b = no produces an error.


However, the assignment problem last night seems to have disappears. Last
night,

<cfset a=True>
<cfset b=false>
<cfset c=(A and B)>
<cfset d=c>

<cfoutput>#A##b##c##D#</cfoutput>

Displayed TrueFalseNO

then errored out.

Today, it is as expected:  Truefalsefalsefalse

and no errors.



-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 10:30 PM
To: CF-Talk
Subject: RE: Why does ( Not True) if CF5.0 Single User return NO instead
o f False???


> Has anyone else had CF 5.0 return NO for Not True instead
> of False? Is this fixable?
>
> I've had to put in iif's when I'd prefer to do Boolean
> operations.

CF accepts True/False or Yes/No as Boolean values, and typically returns
Yes/No if you output a Boolean value directly. I'm not sure what needs to be
fixed about that, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to