Remove objects from the stack
_pop_n (Integer_Type n);
The _pop_n function pops n objects from the top of the
stack.
define add3 ()
{
variable x, y, z;
if (_NARGS != 3)
{
_pop_n (_NARGS);
error ("add3: Expecting 3 arguments");
}
(x, y, z) = ();
return x + y + z;
}
_stkdepth, pop