realbasic-games
[Top] [All Lists]

Re: RB Arrays

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: RB Arrays
From: "Joseph J. Strout" <joe at strout dot net>
Date: Thu, 30 Mar 2006 20:38:24 -0700
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <D3680394-40D3-406E-92B9-DE40DCBB62E0 at miensoftware dot com> <a0620073bc050576daca9 at [10 dot 0 dot 1 dot 2]> <252A1B36-40F5-4F9B-9985-E048B1A1FC72 at miensoftware dot com> <a06200742c050640ea26f at [10 dot 0 dot 1 dot 2]> <453AF528-7F35-4600-8BFE-84786DEE6484 at miensoftware dot com> <a0620074dc050aea91ec3 at [10 dot 0 dot 1 dot 2]> <861BD101-76D8-492C-BEDA-710ABA40678B at miensoftware dot com> <a06200756c050f99baf76 at [10 dot 0 dot 1 dot 2]> <4AAF5593-9160-4F83-9036-CFB370C6C4D9 at miensoftware dot com> <a06200759c051cef1af7c at [10 dot 0 dot 1 dot 2]> <4DA0A4DA-FF11-48EB-A74F-5A8822418A4F at miensoftware dot com> <a0620076bc0521af98163 at [10 dot 0 dot 1 dot 2]> <95D55DD3-C5E9-4FDA-8BB4-744113E691ED at miensoftware dot com> <a0620076dc05220b6d9cb at [10 dot 0 dot 1 dot 2]> <7B0B93C3-DF32-4012-843B-637BE35F81F9 at miensoftware dot com>
At 4:15 PM -0800 3/30/06, Lo Saeteurn wrote:

Is this how RB's arrays work? Well...maybe I should stop using the append method.

No, you should continue using the append method. We were talking about Redim, not Append.

Does it redim on every append or does it redim with twice the size so it doesn't do this too often?

Append does the latter (though technically it's a resize, not a redim).

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>