ASPL Manual v 1.00
© 2024 by SetSphere.COM


13. 13
   upush pushes an uset variable on the unswer stack

 

logo

upush [a1 .. aN]       where [a1 .. aN] are partitioned set variables

upush

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

upush  usetoid  01*          ins:H_H_H_*H  ous:H_H_H_*H

●  Operator upush pushes an uset variable on the unswer stack

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

 

upush EXAMPLE
The following example shows how to push a partitioned variable on the top of the unswer stack. To view the stack you can simply type uns.

 

upush OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1 )

①  aspl> tattler 1
    (toggle tattler)

②  aspl> v
    (print the symbol table)

③  aspl> P123 = fP a1 a2 a3
    (partition a1 a2 a3, notice from tattler that the unswer stack is being written)

④  aspl> uv
    (print partitioned symbol table)

⑤  aspl> uns
    (display the partitioned unswer stack)

⑥  aspl> upush P123 P123
    (upush P123 twice)

⑦  aspl> uns
    (display the partitioned unswer stack)