If it's actually a bit-level operation, rather than a pure boolean, then 
it can be used for bitmasking, which is used a lot in things like 
cryptography.

On a pure boolean level, I've used the equivalent in PHP for checking 
certain bizzare bits of logic in an online implementation of some 
red-tape infested bureaucratic regulations.

--Ben

Michael Dinowitz wrote:
> 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?
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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

Reply via email to