Hello
I am learning lisp and this may sound like a dumb question. Sorry in advance!!
I am trying to create a very basic lisp routine. When I try to load the lisp through the Visual LISP editor, I get the following error:
_$
Error: malformed list on input
_$
When I try to load it by typing (load "plmt") at the command line I get an error aswell.
I know that I am missing something or somethings. What is it that I missed?
The basic lisp routine is below.
(defun c: plmt ()
;Measure the Distance between 2 points
(setq a (getpoint "\nEnter First Point : "))
;get the first point
(setq b (getpoint "\nEnter Second Point : "))
;get second point
(command "dist" a b "")
;measure the distance
;end defun
Thanks for the help in advance!!