<!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_load_string</TITLE> <LINK HREF="cref-66.html" REL=next> <LINK HREF="cref-64.html" REL=previous> <LINK HREF="cref.html#toc65" REL=contents> </HEAD> <BODY> <A HREF="cref-66.html">Next</A> <A HREF="cref-64.html">Previous</A> <A HREF="cref.html#toc65">Contents</A> <HR> <H2><A NAME="SLang_load_string"></A> <A NAME="s65">65. <B>SLang_load_string</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Interpret a string <DT><B> Usage </B><DD><P><CODE>int SLang_load_string(char *str)</CODE> <DT><B> Description </B><DD><P>The <CODE>SLang_load_string</CODE> function feeds the string specified by <CODE>str</CODE> to the interpreter for execution. It returns zero upon success, or <CODE>-1</CODE> upon failure. <DT><B> See Also </B><DD><P><CODE>SLang_load_file, SLang_load_object</CODE> </DL> <P> <P> <P> <HR> <A HREF="cref-66.html">Next</A> <A HREF="cref-64.html">Previous</A> <A HREF="cref.html#toc65">Contents</A> </BODY> </HTML>