<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLsmg_cls</TITLE>
<LINK HREF="cref-20.html" REL=next>
<LINK HREF="cref-18.html" REL=previous>
<LINK HREF="cref.html#toc19" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-20.html">Next</A>
<A HREF="cref-18.html">Previous</A>
<A HREF="cref.html#toc19">Contents</A>
<HR>
<H2><A NAME="SLsmg_cls"></A> <A NAME="s19">19. <B>SLsmg_cls</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Clear the virtual display
<DT><B> Usage </B><DD><P><CODE>void SLsmg_cls (void)</CODE>
<DT><B> Description </B><DD><P><CODE>SLsmg_cls</CODE> erases the virtual display using the current color.
This will cause the physical display to get cleared the next time
<CODE>SLsmg_refresh</CODE> is called.
<DT><B> Notes </B><DD><P>This function is not the same as
<BLOCKQUOTE><CODE>
<PRE>
     SLsmg_gotorc (0,0); SLsmg_erase_eos ();
</PRE>
</CODE></BLOCKQUOTE>

since these statements do not guarantee that the physical screen
will get cleared.
<DT><B> See Also </B><DD><P><CODE>SLsmg_refresh, SLsmg_erase_eos</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-20.html">Next</A>
<A HREF="cref-18.html">Previous</A>
<A HREF="cref.html#toc19">Contents</A>
</BODY>
</HTML>
