PUSH

 ────PUSH──────┬──────────────┬─────;──────────
                 └──expression──┘


PUSH is used to stack the string resulting from the evaluation of expression in LIFO (last in, first out) format onto the currently active REXX data queue. If you do not specify expression, a null string is stacked.

Example:

a='Fred'
push       /* Puts a null line onto the queue */
push a 2   /* Puts "Fred 2"    onto the queue */

The number of lines currently in the queue can be found with the QUEUED built-in function.


[Back: PULL]
[Next: QUEUE]