realbasic-nug
[Top] [All Lists]

Re: Multidimensional array access

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Multidimensional array access
From: Tim Jones <tjmac@tolisgroup.com>
Date: Fri, 31 Oct 2008 11:03:44 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C530BF31.1846C%ktekinay@mactechnologies.com>
References: <C530BF31.1846C%ktekinay@mactechnologies.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Oct 31, 2008, at 10:57 AM, Kem Tekinay wrote:

On 10/31/08 1:30 PM, "Tim Jones" <tjmac@tolisgroup.com> wrote:

Pointers?  Am I totally abusing the multidimensional array?  Or am I
just totally off the page and should be using a dictionary or
collection?

Or an array of custom classes that each hold an array. I think this would be more memory conservative than a dictionary. The benefit of this approach is
that each subset can hold an arbitrary number of values.

Good point. I'd hoped to keep this simple as there will usually only be 2-10 instances of the parent with 1 to 20 child elements each. Not a lot to manage, but a royal pain in the neck to keep organized...

Tim


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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