<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLang_init_slang</TITLE>
<LINK HREF="cref-56.html" REL=next>
<LINK HREF="cref-54.html" REL=previous>
<LINK HREF="cref.html#toc55" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-56.html">Next</A>
<A HREF="cref-54.html">Previous</A>
<A HREF="cref.html#toc55">Contents</A>
<HR>
<H2><A NAME="SLang_init_slang"></A> <A NAME="s55">55. <B>SLang_init_slang</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Initialize the interpreter
<DT><B> Usage </B><DD><P><CODE>int SLang_init_slang (void)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLang_init_slang</CODE> function must be called by all
applications that use the <B>S-lang</B> interpreter.  It initializes the
interpreter, defines the built-in data types, and adds a set of core
intrinsic functions.
<P>The function returns <CODE>0</CODE> upon success, or <CODE>-1</CODE> upon failure.
<DT><B> See Also </B><DD><P><CODE>SLang_init_slfile, SLang_init_slmath, SLang_init_slunix</CODE>
</DL>
<P>
<P>
<HR>
<A HREF="cref-56.html">Next</A>
<A HREF="cref-54.html">Previous</A>
<A HREF="cref.html#toc55">Contents</A>
</BODY>
</HTML>
