[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 MOO Language Expressions

Expressions are those pieces of MOO code that generate values; for example, the MOO code
 
3 + 4
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.

4.1.1 Errors While Evaluating Expressions  
4.1.2 Writing Values Directly in Verbs  
4.1.3 Naming Values Within a Verb  
4.1.4 Arithmetic Operators  
4.1.5 Comparing Values  
4.1.6 Values as True and False  
4.1.7 Indexing into Lists and Strings  
4.1.8 Other Operations on Lists  
4.1.9 Spreading List Elements Among Variables  
4.1.10 Getting and Setting the Values of Properties  
4.1.11 Calling Built-in Functions and Other Verbs  
4.1.12 Catching Errors in Expressions  
4.1.13 Parentheses and Operator Precedence  



This document was generated on September, 30 2008 using texi2html