Skip to content

Keyword: set

Pebaz edited this page May 27, 2019 · 3 revisions

Description

Insert a new entry into the current scope's symbol table. If the key already exists in an upper level scope, assign the value to the older entry rather than redefining the same name within the scope.

Takes an identifier and a value and uses these as the key/value pair in the symbol table.

Usage

(set 'name "Pebaz")
(set 'PI 3.14)
Clone this wiki locally