On Jan 9, 2005, at 5:30 PM, Joe Huber wrote:
At 9:32 PM -0700 1/8/05, Kevin Lohka wrote:
I can't seem to find a simple way to delete a row of a
multi-dimension array, from the middle of the array, given that the
array.remove method only works for single dimension arrays?
Depending on your needs, you might consider creating a new class with
properties that correspond to the columns of data in your array.
Then you can use a one dimensional array of these classes to represent
your data. Voila, you now can use the magical Insert, Remove, Append
and Pop array functions. :-) And often times a class can be a better
way to represent a 'row' of your data anyway.
Hope this helps,
This is what I'll do, thanks for the suggestion Joe.
Kevin.
_______________________________________________
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>
|