Re: [Circle] OR/AND

From: Mud Administrator (mudadmin@vistech.net)
Date: 11/16/96


On Sat, 16 Nov 1996, Ron Hensley wrote:

> > if (this and/or this) {
> > blah
> > } else {
> > blah
> > }

//note below quoted will be reffered to as above thingy
> if ((this and that) or something else)
> 
> if ((a == 5 && b == 1) || c == 2)

if ya mean like sumthin by the way of 
if(a&&b) along with if(a||b) then ya just needta use or(||) because or 
says, if this or that, however xor says if this and not that or that and 
not this, so ya prolly just needta use if(a||b) unless ya want it to be 
like the above thingy

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