Re: [SNIPP] counting inventory

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 06/07/98

It is a pointer thing.  I am passing the address of nitems so that the calling
func's nitems increases when the called func increases nitems (i never could
explain pointers)  You removed the & and *'s? gotta put them back

______________________________ Reply Separator _________________________________
Subject: Re:  [SNIPP] counting inventory
Date:    6/5/98 7:10 PM

Few questions..
Why are you using &nitems. I'm trying to int that but it gives me parse
error (in do_quit). It also tells me that its making a pointer from
integer... usually its where I place an == instead of = or something.
Any ideas?

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

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