ASPL Manual v 1.00
© 2024 by SetSphere.COM
13. 8pop pops the last result from the answer stack into a set variable
pop setvar where setvar is a set variable
pop
When specified by itself then simply pop the answer stack
pop setoid 01* ins:H_H_H ous:H_H_H
Use the operator pop to pop the answer stack. If the operator is followed by a variable name then the operation will pop the top of the stack and assign it to the set variable.
pop EXAMPLEIn this example we start ASPL loading the sample workspace WS1, then we issue a set operation to intersect two set variables. We pop the answer stack into a set variable.
pop OPERATION# aspl WS1
(start ASPL loading the sample workspace WS1)
① aspl>
f& a1 a2
(display the interection between a1 and a2, the result is also pushed on the answer stack)
② aspl>
ans
(display the answer stack)
③ aspl>
pop a12
(pop the answer stack into variable a12)
④ aspl>
ans
(display the answer stack)
⑤ aspl>
v
(display symbol table, a12 is in the table)
⑥ aspl>
v d a12
(view variable a12)