I need a sample code Lisp .
A function(defun) returning value
A simple example
Thanks
Rodrigo
A function(defun) returning value
A simple example
Thanks
Rodrigo
Discuss and learn Lisp programming of all dialects
This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.
4 posts · 4952 views
(defun value-returner () 'value)(defun return-a-value (return-value)
return-value)
(return-a-value 'test) ==> test
(return-a-value (* 3 6)) ===> 18