<cfif InvadeAfghan XOR InvadeIraq>
        Elect Kerry
<cfelseif InvadeAfghan OR InvadeIraq>
        Re-elect Bush
<cfelse>
        Move to France
</cfif>


-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 03, 2005 15:46
To: CF-Talk
Subject: XOR

ColdFusion comparison statements (CFIF, etc.) support the XOR joiner
between clauses. This is used as such:
clause1 XOR clause2
This says that either clause1 or clause2 has to be true for the
statement to be true. If both are true or both are false, then the
entire statement is false. My question is: can anyone think of a real
world example where you would need a statement like this?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223111
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to