Re: [Circle] OR/AND

From: Wizard Productions (keldor@rain.org)
Date: 11/16/96


Not quite true.  You may want to group things together.  Like you want
either a or b and C.  You either have to have A.  or you need to have b
and C ;)  of course this is totaly redundant and pointless ;)



WIZARD PRODUCTIONS, Making The Majic In Movies...

On Sat, 16 Nov 1996, Jeff Burrell wrote:

> > 
> > 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   |
> +-----------------------------------------------------------+
> 

+-----------------------------------------------------------+
| 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