Re: value[]

From: Admin of The Keep (dkoepke@california.com)
Date: 10/12/96


On Sat, 12 Oct 1996 the.count@kirk.geog.sc.edu wrote:

> would it cause any undue problems if i were to use value[0] of weapons
> as a bitvector? =)     (the value[] array is defined as an int)

  If it's not used for anything else in your code then: nope, it'll be
  fine.  If I remember correctly, GCC defines 'int' the same as a long,
  so you should get all 32 bits (of course, then again, you may only get
  31 since it's a signed int).


  <*=-+Daniel+-=*>
  "Forgive me father, for I am sin."


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