ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


3. 10
   apush pushes a binned set variable on the enswer stack

 

logo

apush [a1 .. aN]       where [a1 .. aN] are binned set variables

apush

When specified by itself then the operation will push the top of augmented enswer stack once again to the top of stack

apush  asetoid  01*          ins:H_H_AH  ous:H_H_AH

●  Operator apush pushes a binned set variable on the enswer stack

Use the apush operator to push binned set variables on the top of the augmented enswer stack.

 

apush EXAMPLE
The following example shows how to push two binned variables on the top of the augmented enswer stack. To view the stack you can simply type ens.

 

apush OPERATION

# aspl WS1

stat ASPL loading sample workspace WS1

①  aspl> av
    (print the augmented symbol table)

②  aspl> apush aa1 aa2
    (push aa1 and aa2 on top of the stack)

③  aspl> ens
    (display the augmented enswer stack)

④  aspl> f&&
    (display the intersection between the two datasets on the top of the augmented enswer stack)

⑤  aspl> f&& aa1 aa2
    (display the intersection between aa1 and aa2, should be the same as operation above)

⑥  aspl> ens
    (display the augmented enswer stack)