Product SiteDocumentation Site

5.3.8.10. resize


>>-resize(-newSize-+----------+-)------------------------------><
                   +--,order--+

Resizes the circular queue object to be able to contain newSize items. If more than newSize items are in the queue, any extra items are removed in the specified order.
The following order can be used. (Only the capitalized letter is needed; all characters following it are ignored.)
Fifo
First-in, first-out. This keeps the items at the front of the queue. Item deletions occur at the end of the queue. This is the default action.
Lifo
Last-in, first-out (stack-like). This removes items from the front of the queue.

Note:

Resizing with a value of 0 removes all items from the circular queue.