RosettaCodeData/Task/Dynamic-variable-names/Common-Lisp/dynamic-variable-names-1.lisp

3 lines
142 B
Common Lisp
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(setq var-name (read)) ; reads a name into var-name
(set var-name 1) ; assigns the value 1 to a variable named as entered by the user