<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE> {The S-lang C Library Reference}: SLdo_pop_n</TITLE> <LINK HREF="cref-68.html" REL=next> <LINK HREF="cref-66.html" REL=previous> <LINK HREF="cref.html#toc67" REL=contents> </HEAD> <BODY> <A HREF="cref-68.html">Next</A> <A HREF="cref-66.html">Previous</A> <A HREF="cref.html#toc67">Contents</A> <HR> <H2><A NAME="SLdo_pop_n"></A> <A NAME="s67">67. <B>SLdo_pop_n</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Delete n objects from the stack <DT><B> Usage </B><DD><P><CODE>int SLdo_pop_n (unsigned int n)</CODE> <DT><B> Description </B><DD><P>The <CODE>SLdo_pop_n</CODE> function removes the top <CODE>n</CODE> objects from the interpreter's run-time stack and frees all memory associated with the objects. It returns zero upon success, or <CODE>-1</CODE> upon error (most likely due to a stack-underflow). <DT><B> See Also </B><DD><P><CODE>SLdo_pop, SLang_pop_integer, SLang_pop_string</CODE> </DL> <P> <P> <P> <HR> <A HREF="cref-68.html">Next</A> <A HREF="cref-66.html">Previous</A> <A HREF="cref.html#toc67">Contents</A> </BODY> </HTML>