Redim MyArray(0) will not remove the first element as your loop would. Redim it to -1 and it will be completely empty.

Terry

On Aug 27, 2006, at 3:12 AM, Giles Williams wrote:

Yep, thanks, that works perfectly now.

Giles.

On 27 Aug 2006, at 09:57, Walter Purvis wrote:

 -----Original Message-----
Which is supposed to loop thru and delete all the values in an array.

 Is there a better way to do this??

Why don't you just redim it to 0? (And I'm not entirely sure that it's worth
making a class extension just to do that.)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to