Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Common Lisp/Reference/defvar

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

The defvar special form defines variables with a global scope. The following example declares a global variable with the symbol "temperature" and sets its value to 20: > (defvar temperature 20) TEMPERATURE > (print temperature) 20 20 See also defparameter defconstant defparameter