PUSH instruction

The PUSH instruction saves the current PRINT, USING or ACONTROL status in push-down storage on a last-in, first-out basis. You restore this PRINT, USING or ACONTROL status later, also on a last-in, first-out basis, by using a POP instruction.

Read syntax diagramSkip visual syntax diagram                              .-,-----------------.  
                              V              (1)  |  
>>-+-----------------+--PUSH----+-PRINT----+------+------------->
   '-sequence_symbol-'          +-USING----+         
                                '-ACONTROL-'         
 
>--+----------+------------------------------------------------><
   '-,NOPRINT-'  
 

Notes:
  1. Each keyword from this group may be selected only once.
sequence_symbol
is a sequence symbol.
PRINT
instructs the assembler to save the PRINT status in a push-down stack.
USING
instructs the assembler to save the USING status in a push-down stack.
ACONTROL
instructs the assembler to save the ACONTROL status in a push-down stack.
NOPRINT
instructs the assembler to suppress the printing of the PUSH statement in which it is specified.

The PUSH instruction only causes the status of the current PRINT, USING or ACONTROL instructions to be saved. The PUSH instruction does not:


[ Top of Page | Previous Page | Next Page | Contents | Index ]