All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

defglobal-variable Macro

Summary

Defines a hcl:special-global variable.

Package

hcl

Signature

defglobal-variable name &optional initial-value doc => name

Arguments
name
A symbol.
initial-value
A Lisp object.
doc
A string.
Values
name
A symbol.
Description

The macro defglobal-variable has the same semantics as cl:defvar, but also declares the name name to be hcl:special-global. initial-value is used as the value of the parameter and doc is used as its documentation string.

See also

defglobal-parameter


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35