Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 Add append methods to Array class

v3.2.0
closed
Rick McGuire
Classes (154)
5
2012-08-14
2005-01-09
Rick McGuire
No

The Rexx Array class is a lot like the Java Vector
class...except there is no method for adding a new item
at the end of the array. An because array's can be
sparse, this is actually a difficult operation to code
yourself. A method is needed to append an item after
the last occupied slot of the array.

Also, there have been some frequent questions from
users on concatenating arrays. There should be a
version of append that allows another array to be
appended to an array.

NOTE: These operations are only properly defined for
1-dimensional arrays.

Discussion


Anonymous


Cancel   Add attachments