GNU Info

Info Node: (emacs-lisp-intro.info)set & setq

(emacs-lisp-intro.info)set & setq


Next: Summary Prev: Arguments Up: List Processing
Enter node , (file) or (file)node

Setting the Value of a Variable
===============================

   There are several ways by which a variable can be given a value.
One of the ways is to use either the function `set' or the function
`setq'.  Another way is to use `let' (Note: let).  (The jargon for
this process is to "bind" a variable to a value.)

   The following sections not only describe how `set' and `setq' work
but also illustrate how arguments are passed.

Using set
Setting values.
Using setq
Setting a quoted value.
Counting
Using `setq' to count.

automatically generated by info2www version 1.2.2.9