Product Site

5.3.6.24. makeArray

Returns a single-dimensional Array with the same number of items as the receiver object. Any index with no associated item is omitted from the new array. Items in the new array will have the same order as the source array. A multi-dimensional Array will be converted into a non-sparse single-dimensional Array.
Example 5.183. Array class — makeArray method
a = .array~of("Fred", , "Mike", , "David")
b = a~makeArray  -- b = .array~of("Fred", "Mike", "David")