realbasic-nug
[Top] [All Lists]

Re: Deleting a row of a Multi-Dimension Array

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Deleting a row of a Multi-Dimension Array
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Mon, 31 Jan 2005 08:39:54 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <7A8AB8CC-61F7-11D9-AF1C-000A95728606 at aboutfacedata dot ab dot ca> <a06200701be071346d041 at [10 dot 10 dot 13 dot 4]> <3FC9FAD7-730D-11D9-81C8-000A95DB6C90 at fireyesoftware dot com>
At 5:21 PM -0500 1/30/05, Asher Dunn wrote:

That's right. There's no simple way to remove a column, either (nor a higher-dimensional slab of a multi-dimensional arrays).

Is the only way some strange re-assignment and redim operation?

I wouldn't consider it strange, but yes, you have to use a loop or two to move all the values and then resize the array.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>