makeArray method,
including stem variables. The collection returned determines the set of values
and their order.
Array, List, and Queue items return an array with the items in the appropriate order,
as do Streams. Tables, Stems, Directories, etc. are not ordered so the items
get placed in the array in no particular order.makeArray method of the specific collection
class determines the values assigned to the control variable.Astem.=0
Astem.3="CCC"
Astem.24="XXX"
loop k over Astem.
say k Astem.k
end k
3 CCC
24 XXX
24 XXX
3 CCC