<HTML> <HEAD> <!-- This HTML file has been created by texi2html 1.51 from ProgrammersManual.texinfo on 4 March 1997 --> <TITLE>LambdaMOO Programmer's Manual - Expressions</TITLE> </HEAD> <BODY> Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_9.html">previous</A>, <A HREF="ProgrammersManual_11.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="SEC10" HREF="ProgrammersManual_toc.html#TOC10">MOO Language Expressions</A></H2> <P> Expressions are those pieces of MOO code that generate values; for example, the MOO code <PRE> 3 + 4 </PRE> <P> is an expression that generates (or "has" or "returns") the value 7. There are many kinds of expressions in MOO, all of them discussed below. </P> <UL> <LI><A HREF="ProgrammersManual_11.html#SEC11">Expression Errors</A>: Errors While Evaluating Expressions <LI><A HREF="ProgrammersManual_12.html#SEC12">Literals</A>: Writing Values Directly in Verbs <LI><A HREF="ProgrammersManual_13.html#SEC13">Variables</A>: Naming Values Within a Verb <LI><A HREF="ProgrammersManual_14.html#SEC14">Arithmetic</A>: Arithmetic Operators <LI><A HREF="ProgrammersManual_15.html#SEC15">Comparisons</A>: Comparing Values <LI><A HREF="ProgrammersManual_16.html#SEC16">Truth Values</A>: Values as True and False <LI><A HREF="ProgrammersManual_17.html#SEC17">Indexing</A>: Indexing into Lists and Strings <LI><A HREF="ProgrammersManual_22.html#SEC22">More On Lists</A>: Other Operations on Lists <LI><A HREF="ProgrammersManual_23.html#SEC23">Scattering</A>: Spreading List Elements Among Variables <LI><A HREF="ProgrammersManual_24.html#SEC24">Property Values</A>: Getting and Setting the Values of Properties <LI><A HREF="ProgrammersManual_25.html#SEC25">Calling</A>: Calling Built-in Functions and Other Verbs <LI><A HREF="ProgrammersManual_26.html#SEC26">Catch</A>: Catching Errors in Expressions <LI><A HREF="ProgrammersManual_27.html#SEC27">Precedence</A>: Parentheses and Operator Precedence </UL> <P><HR><P> Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_9.html">previous</A>, <A HREF="ProgrammersManual_11.html">next</A>, <A HREF="ProgrammersManual_77.html">last</A> section, <A HREF="ProgrammersManual_toc.html">table of contents</A>. </BODY> </HTML>