<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLang_pop_double</TITLE>
<LINK HREF="cref-73.html" REL=next>
<LINK HREF="cref-71.html" REL=previous>
<LINK HREF="cref.html#toc72" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-73.html">Next</A>
<A HREF="cref-71.html">Previous</A>
<A HREF="cref.html#toc72">Contents</A>
<HR>
<H2><A NAME="SLang_pop_double"></A> <A NAME="s72">72. <B>SLang_pop_double</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Pop a double from the stack
<DT><B> Usage </B><DD><P><CODE>int SLang_pop_double (double *dptr, int *iptr, int *conv)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLang_pop_double</CODE> function pops a double precision number
from the stack and returns it via <CODE>dptr</CODE>.  If the number was
derived from an integer, <CODE>*conv</CODE> will be set to <CODE>1</CODE> upon
return, otherwise, <CODE>*conv</CODE> will be set to <CODE>0</CODE>.  This
function returns <CODE>0</CODE> upon success, otherwise it returns <CODE>-1</CODE> and sets
<CODE>SLang_Error</CODE> accordingly.
<DT><B> Notes </B><DD><P>If one does not care whether or not <CODE>*dptr</CODE> was derived from
an integer, <CODE>iptr</CODE> and <CODE>conv</CODE> may be passed as <CODE>NULL</CODE>
pointers.
<DT><B> See Also </B><DD><P><CODE>SLang_pop_integer, SLang_push_double</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-73.html">Next</A>
<A HREF="cref-71.html">Previous</A>
<A HREF="cref.html#toc72">Contents</A>
</BODY>
</HTML>
