Re: [Code] Outdoors/Indoors from "John Evans" at Oct 1, 97 12:51:28 pm

From: Aaron Miller (Tarus50@CONCENTRIC.NET)
Date: 10/01/97


>
> > #define INSIDE(ch) (ROOM_FLAGGED((ch)->in_room, ROOM_INDOORS))
> >
> > which is basically a copy of OUTSIDE, except it has a ! preceedingly it
> > all, which makes it true if that string is false, I believe.. I tried to
> > use !OUTSIDE in my function, but the compiler didn't like that. Hrmph,
> > whatever.. anyone help? Would OUTSIDE = 1 have worked for a check?
>
> The !OUTSIDE(ch) should have worked, but I would personally go with the
> #define and use INSIDE(ch). There may be flaws in that method, but that
> is what I would use.
>
So would I, except it did not work.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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