{The S-lang C Library Reference}: SLdo_pop_n

Next Previous Contents

## 67. SLdo_pop_n

Synopsis

  Delete n objects from the stack

Usage

  `int SLdo_pop_n (unsigned int n)`

Description

  The `SLdo_pop_n` function removes the top `n` objects from the interpreter's run-time stack and frees all memory associated with the objects. It returns zero upon success, or `-1` upon error (most likely due to a stack-underflow).

See Also

  `SLdo_pop, SLang_pop_integer, SLang_pop_string`

Next Previous Contents