<HTML> <HEAD> <!-- This HTML file has been created by texi2html 1.51 from ProgrammersManual.texinfo on 4 March 1997 --> <TITLE>LambdaMOO Programmer's Manual - Statements</TITLE> </HEAD> <BODY> Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_27.html">previous</A>, <A HREF="ProgrammersManual_29.html">next</A>, <A HREF="ProgrammersManual_77.html">last</A> section, <A HREF="ProgrammersManual_toc.html">table of contents</A>. <P><HR><P> <H2><A NAME="SEC28" HREF="ProgrammersManual_toc.html#TOC28">MOO Language Statements</A></H2> <P> Statements are MOO constructs that, in contrast to expressions, perform some useful, non-value-producing operation. For example, there are several kinds of statements, called `looping constructs', that repeatedly perform some set of operations. Fortunately, there are many fewer kinds of statements in MOO than there are kinds of expressions. </P> <UL> <LI><A HREF="ProgrammersManual_29.html#SEC29">Statement Errors</A>: Errors While Executing Statements <LI><A HREF="ProgrammersManual_30.html#SEC30">Simple Statements</A>: Simple Statements <LI><A HREF="ProgrammersManual_31.html#SEC31">Conditionals</A>: Statements for Testing Conditions <LI><A HREF="ProgrammersManual_32.html#SEC32">Iteration</A>: Statements for Looping <LI><A HREF="ProgrammersManual_33.html#SEC33">Breaking</A>: Terminating One or All Iterations of a Loop <LI><A HREF="ProgrammersManual_34.html#SEC34">Returning</A>: Returning a Value from a Verb <LI><A HREF="ProgrammersManual_35.html#SEC35">Handling Errors</A>: Handling Errors in Statements <LI><A HREF="ProgrammersManual_36.html#SEC36">Finally</A>: Cleaning Up After Errors <LI><A HREF="ProgrammersManual_37.html#SEC37">Forking</A>: Executing Statements at a Later Time </UL> <P><HR><P> Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_27.html">previous</A>, <A HREF="ProgrammersManual_29.html">next</A>, <A HREF="ProgrammersManual_77.html">last</A> section, <A HREF="ProgrammersManual_toc.html">table of contents</A>. </BODY> </HTML>