Hi Jeff,
There is a syntax problem with your COND statement, consider the following code:
Code:
(defun test ( var1 )
(print var1)
(cond
( (= var1 "yes")
"The Variable is YES"
)
( (= var1 "no")
"The Variable is NO"
)
)
)
Testing:
Code:
_$ (test "yes")
"yes" "The Variable is YES"
_$ (test "no")
"no" "The Variable is NO"
_$ (test "Yes")
"Yes" nil
I would suggest you read the Visual LISP IDE (VLIDE) Help Documentation regarding the syntax of the COND function, if you haven't already done so. A short tutorial detailing how to access this can be found on my site here.
If you have any questions about anything I have posted, just ask.
Lee