Re: value[]

From: Admin of The Keep (
Date: 10/12/96

On Sat, 12 Oct 1996 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).

  "Forgive me father, for I am sin."

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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