realbasic-nug
[Top] [All Lists]

Re: ReDim Array

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ReDim Array
From: Terry Ford <tmford at shaw dot ca>
Date: Tue, 31 Aug 2004 14:26:31 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BD59F460 dot 36577%lists at redcort dot com> <EBEA0CDB-FB7F-11D8-BD1E-00039396177E at kellerfarm dot com> <D21008E4-FB80-11D8-A9C1-003065F2C108 at shaw dot ca> <4904506E-FB91-11D8-9661-000A95983FBE at ljug dot com>

On 31-Aug-04, at 2:04 PM, Will Leshner wrote:


On Aug 31, 2004, at 12:06 PM, Terry Ford wrote:

If you are building your array with the addrow method, that is handled automatically. You can always redim it yourself as well in RS.


Append? Insert?

Me wrong, wrong, wrong!!! Give me a thousand lashes with a wet noodle. Although append is almost the same as addrow in a listbox or a menuitem. Hmm. Why isn't there some common name here?

It's not Addrow but Append or Insert as Will mentioned. These work in one dimensional arrays only (I think): [notice the disclaimer so I don't make a fool out of myself twice in the same day].

Multi-dimensional arrays will, AFAIK, still require re-dimming the array to it's proper size(s).

Terry

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

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

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