collect | dynamicArrayedCollection | copyReplace![]() |
Return a new collection of the same species as this OrderedCollection which contains the elements between the indices fromIndex and toIndex.
| fromindex | PIC S9(9) COMP-5 |
| toindex | PIC S9(9) COMP-5 |
| anewcollection | OBJECT |