At 10:06 AM 3/22/2002 -0500, Joshua Nye wrote:
>Doh! Applied now.
>
>But this fails now:
>
>set S0, "test"
>set I0, 234
>save S0
>save I0
>restore S1
>restore I1
>end
>
>With error message: Wrong type on top of stack!
>
>Not sure if this is intended though. I though each type (INT,NUM,PMC,STR)
>has it's own stack?

You got the intended result. save/restore uses the generic stack, you are
thinking of pushi, popi, etc. for saving register environments.

-Melvin

Reply via email to