Next: Classifying Lists Prev: Self-Evaluating Forms Up: Forms
When a symbol is evaluated, it is treated as a variable. The result
is the variable's value, if it has one. If it has none (if its value
cell is void), an error is signaled. For more information on the use of
variables, see Note: Variables.
In the following example, we set the value of a symbol with `setq'.
When the symbol is later evaluated, that value is returned.
(setq a 123)
The symbols `nil' and `t' are treated specially, so that the value
of `nil' is always `nil', and the value of `t' is always `t'. Thus,
these two symbols act like self-evaluating forms, even though `eval'
treats them like any other symbol.
automatically generated by info2www