QUEUE

>>-QUEUE--+------------+--;------------------------------------><
          +-expression-+

QUEUE appends the string resulting from expression to the tail of the external data queue. That is, it is added FIFO (First In, First Out). (See Input and Output Streams for a discussion of Rexx input and output.)

If you do not specify expression, a null string is queued.

Example:

a="Toft"
queue a 2  /* Enqueues "Toft 2" */
queue      /* Enqueues a null line behind the last */

The QUEUED built-in function (described in QUEUED) returns the number of lines currently in the external data queue.