Re: [NEWBIE] question

From: Del (caminturn@earthlink.net)
Date: 04/03/01


Edward Felch wrote:
>
> I hate to ask a basic c question, but how does the ? in: GET_POS(ch) ==
> POS_SITTING ? "sitting" : "resting"  work? Thanks a lot... ive been
> wondering
>

I am no expert, but it works like this (correct me if I am wrong)

if (GET_POS(ch) == POS_SITTING)
     "sitting"
else
     "resting"

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST