/
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 - Literals</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="ProgrammersManual_1.html">first</A>, <A HREF="ProgrammersManual_11.html">previous</A>, <A HREF="ProgrammersManual_13.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="SEC12" HREF="ProgrammersManual_toc.html#TOC12">Writing Values Directly in Verbs</A></H3>

<P>
The simplest kind of expression is a literal MOO value, just as
described in the section on values at the beginning of this document.
For example, the following are all expressions:

</P>

<PRE>
17
#893
"This is a character string."
E_TYPE
{"This", "is", "a", "list", "of", "words"}
</PRE>

<P>
In the case of lists, like the last example above, note that the list
expression contains other expressions, several character strings in this
case.  In general, those expressions can be of any kind at all, not
necessarily literal values.  For example,

<PRE>
{3 + 4, 3 - 4, 3 * 4}
</PRE>

<P>
is an expression whose value is the list <CODE>{7, -1, 12}</CODE>.

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