Read Me - Common Public License V1.0 - Copyright Notice(©)

allItems


>>-allItems----------------------------------------------------><

Returns an array of all items contained in the array.

Array class - allItems method

a = .array~of("Fred", "Mike", "David")

do name over a~allItems
   say name  -- displays "Fred", "Mike", and "David"
end

a~remove(2)  -- remove second item

do name over a~allItems
   say name  -- displays "Fred" and "David"
end

Read Me - Common Public License V1.0 - Copyright Notice(©)