Returns a string object that concatenates the string values of the collected
item objects, using the delimiter string
to delimit them, in the specified order.
If the delimiter is omitted, the comma character
(",") is used as the default delimiter string.
The following order can be used. (Only
the capitalized letter is needed; all characters following it are ignored.)
Fifo
First-in, first-out. This is the default
Lifo
Last-in, first-out (stack-like)
Example 5.197. CircularQueue class — makeArray method
-- reverse an arraya=.Array~of("one","two","three","four","five")say.CircularQueue~new(a~size)~appendAll(a)~makeArray("lifo")~makeString(,", ")-- five, four, three, two, one