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 12:06:10 -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>

On 31-Aug-04, at 11:59 AM, Andrew Keller wrote:

If you wanted the contents to be deleted, would you ReDim the array to -1 rows,

Yes. That will eliminate all rows.

and then back up to what you want, or is there a method for that purpose? I know that in VB ReDim gives you a choice.

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

Cheers,

Terry Ford

_______________________________________________
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>