Re: [Circle] OR/AND

From: Jeff Burrell (jburrell@ipass.net)
Date: 11/16/96


> 
> the AND/OR part is it |& or ||&& or what??

let's say you're talking about this statement:

if (a || b)
{
	do x
}
else
	do y

if a or b are true, you will do x.
if a and b are true, you will do x.
if neither a nor b are true, you will do y.

net result: you never need an and/or operator, because the OR operator will
work just fine.

-Jeff
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST