swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Array and deleteAll


From: Marcus G. Daniels
Subject: Re: Array and deleteAll
Date: 08 Sep 1998 09:59:51 -0700

>>>>> "JM" == James Marshall <address@hidden> writes:

JM> I've been trying to use deleteAll to remove objects in an
JM> Array, as suggested, but it doesn't work! 

An array is a fixed-size thing, so what one would do is to put `nil'
in a slot to signify that it is empty.  `remove' and `delete' include
the notion of changing the size of a collection.

To delete arrays of arrays, perhaps consider using a temporary zone 
for all the objects (and then dropping the zone), or forEach:
for dropping the arrays within the main array.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]