realbasic-nug
[Top] [All Lists]

Re: ReDim Array

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ReDim Array
From: Andrew Keller <andrew at kellerfarm dot com>
Date: Tue, 31 Aug 2004 14:59:44 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BD59F460 dot 36577%lists at redcort dot com>
If ReDim is used to increase the elements of an array, is the data in
the existing elements retained?
Barrie

Yes

If you wanted the contents to be deleted, would you ReDim the array to -1 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.

Andrew

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