--
You received this message because you are subscribed to a topic in the Google Groups "Land of Lisp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/land-of-lisp/2jhW5wymksc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to land-of-lisp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Two main ways, make it a web application (have a look at Hunchentoot and similar). Or from the command line like this from Practical Common Lisp:
(defun prompt-read (prompt)
(format *query-io* "~a: " prompt)
(force-output *query-io*)
(read-line *query-io*))
Also see Chapter 6 of Land of Lisp.
Edward
P.S.
Just as a style note, use binary-to-decimal or binary->decimal rather than btod.
Sent from Mail for Windows 10