<!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}: SLang_peek_at_stack</TITLE> <LINK HREF="cref-87.html" REL=next> <LINK HREF="cref-85.html" REL=previous> <LINK HREF="cref.html#toc86" REL=contents> </HEAD> <BODY> <A HREF="cref-87.html">Next</A> <A HREF="cref-85.html">Previous</A> <A HREF="cref.html#toc86">Contents</A> <HR> <H2><A NAME="SLang_peek_at_stack"></A> <A NAME="s86">86. <B>SLang_peek_at_stack</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Find the type of object on the top of the stack <DT><B> Usage </B><DD><P><CODE>int SLang_peek_at_stack (void)</CODE> <DT><B> Description </B><DD><P>The <CODE>SLang_peek_at_stack</CODE> function is useful for determining the data type of the object at the top of the stack. It returns the data type, or -1 upon a stack-underflow error. It does not remove anything from the stack. <DT><B> See Also </B><DD><P><CODE>SLang_pop_string, SLang_pop_integer</CODE> </DL> <P> <P> <P> <HR> <A HREF="cref-87.html">Next</A> <A HREF="cref-85.html">Previous</A> <A HREF="cref.html#toc86">Contents</A> </BODY> </HTML>