I copied this lsp from a online tutorial, but it does work on my computer.
It keep showing the error:
"; error: no function definition"
--------------------------------------------------------------------------------------------
Here is my lsp:
(defun c:ift()(initget 1 "A B C")(setq grade (getkword "Please enter your grade (A/B/C):: "))(if (=grade "A") (princ "You have receied marks greater than 75%."))(if (=grade "B") (princ "You have receied marks greater than 65%."))(if (=grade "C") (princ "You are failed.")) )