Product SiteDocumentation Site

5.3.12.32. section


>>-section(start-+--------+-)----------------------------------><
                 +-,items-+

Returns a new queue (of the same class as the receiver) containing selected items from the receiver. The first item in the new queue is the item corresponding to index start in the receiver. Subsequent items in the new queue correspond to those in the receiver (in the same sequence). If you specify the whole number items, the new queue contains only this number of items (or the number of subsequent items in the receiver, if this is less than items). If you do not specify items, the new queue contains all subsequent items from the receiver. The receiver queue remains unchanged.