Re: [NEWBIE] Arrays

From: George (greerga@CIRCLEMUD.ORG)
Date: 10/27/98


On Tue, 27 Oct 1998, Jourge Fuzz Bush wrote:

>No. There is quite a difference from what george wrote and what I was
>looking for. I will admit I didn't understand it fully (the create). But
>after taking a look at the code for the create macro there arose to many
>problems that a simple static array would fix.

Except you cannot resize the static array with RECREATE() as you can with
one made by CREATE().

>I was looking for an answer that did not require me to "explicitly" define
>the size because I didn't really want to put a cap limit on the number of
>people who can die without reclaiming there bodybags and I didn't want to
>waist memory that wasn't used.

It's called a linked list.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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