Current reference: http://www.gigamonkeys.com/book/lather- ... -repl.html
Installation guide: http://www.osix.net/modules/article/?id=912
The first link gives this hello-world program:
The best I managed was to get FORMAT to return the given string (the same thing PRINT does):
Installation guide: http://www.osix.net/modules/article/?id=912
The first link gives this hello-world program:
(defun hello-world ()
(format t "Hello, world!"))
Whether that statement is wrapped in a function or not, all it does is return NIL on my setup. Maybe it's because I'm using a different compiler (Clisp)?The best I managed was to get FORMAT to return the given string (the same thing PRINT does):
(format nil "Hello, world!"))
Calling this function only prints "G":defun hello-world ()
(format nil "Hello, world!")
(print "F")
"G")
Did I miss something...? Thanks.I'm off my grokker.
- Chris
- Chris