Re: newbie C question

From: Justin (c616077@SHOWME.MISSOURI.EDU)
Date: 07/13/97


On Sun, 13 Jul 1997, Whitey wrote:

> Um, you dont need to type-cast that statment.  Since GET_LVL returns an
> integer, and both '10' and '1' are integers, the whole expression will be
> an integer.

Well, I thought I ought to typecast it because I noticed somewhere else in
the code GET_CLASS was being casted to an integer, but the CLASS_BLAH's
are defined as integers.
Thanks.

Salvatore


      +-----------------------------------------------------------+
      | 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/08/00 PST