QUEUE

 ────QUEUE─────┬──────────────┬────;───────────
                 └──expression──┘

QUEUE is used to append the string resulting from expression to the tail of the currently active REXX data queue. That is, it is added in FIFO (first in, first out) format.

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 number of lines currently in the queue can be found with the QUEUED built-in function.


[Back: PUSH]
[Next: RETURN]