/
html/
<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.51
     from ProgrammersManual.texinfo on 4 March 1997 -->

<TITLE>LambdaMOO Programmer's Manual - Simple Statements</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_29.html">previous</A>, <A HREF="ProgrammersManual_31.html">next</A>, <A HREF="ProgrammersManual_77.html">last</A> section, <A HREF="ProgrammersManual_toc.html">table of contents</A>.
<P><HR><P>


<H3><A NAME="SEC30" HREF="ProgrammersManual_toc.html#TOC30">Simple Statements</A></H3>

<P>
The simplest kind of statement is the <STRONG>null</STRONG> statement, consisting of just
a semicolon:

</P>

<PRE>
;
</PRE>

<P>
It doesn't do anything at all, but it does it very quickly.

</P>
<P>
The next simplest statement is also one of the most common, the expression
statement, consisting of any expression followed by a semicolon:

</P>

<PRE>
<VAR>expression</VAR>;
</PRE>

<P>
The given expression is evaluated and the resulting value is ignored.
Commonly-used kinds of expressions for such statements include
assignments and verb calls.  Of course, there's no use for such a
statement unless the evaluation of <VAR>expression</VAR> has some side-effect,
such as changing the value of some variable or property, printing some
text on someone's screen, etc.

</P>
<P><HR><P>
Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_29.html">previous</A>, <A HREF="ProgrammersManual_31.html">next</A>, <A HREF="ProgrammersManual_77.html">last</A> section, <A HREF="ProgrammersManual_toc.html">table of contents</A>.
</BODY>
</HTML>