Next Previous Contents

9. _pop_n

Synopsis

Remove objects from the stack

Usage

_pop_n (Integer_Type n);

Description

The _pop_n function pops n objects from the top of the stack.

Example

    define add3 ()
    {
       variable x, y, z;
       if (_NARGS != 3)
         {
            _pop_n (_NARGS);
            error ("add3: Expecting 3 arguments");
         }
       (x, y, z) = ();
       return x + y + z;
    }
See Also

_stkdepth, pop


Next Previous Contents