CAD/CAM discussion forum > CAD > Difficulty to run even basic Lisp scripts on demo version ZWCAD mechanical 2014

Difficulty to run even basic Lisp scripts on demo version ZWCAD mechanical 2014

Rank: 1

jeeten7923

Newbie

posts: 1

Registered: 2014-4-10

Message 1 of 2

 Difficulty to run even basic Lisp scripts on demo version ZWCAD mechanical 2014
29-04-2014 03:20 . am | View his/her posts only
Hello,
I am a beginner in zwcad.I am attempting to run basic Lisp scripts in zwcad.

Source code:
---------------------
(defun myProg()
(princ "Jeff")
(princ)
)


-----


Procedure:
(1)from main title bar menu,
Export->load application->add file--> "i select my test.lsp file from the file choser dialog"
(2)Click on file to select it from application files window showing all application files
(3)Select load
(4)command window says test.lsp loaded successfully!
(5)type myProg in command like this: Command myProg
(6)Command window responds :
Unknown command "MYPROG". Press F1 for help.





license type:
ZWCAD mechanical trial 2014 on windows 8.


I cannot find my mistake.
Thank you for helping me.
Jeeten

Rank: 1

Goran

Newbie

posts: 3

Registered: 2011-7-16

Message 2 of 2

18-08-2014 03:28 . am | View his/her posts only
Reply 1# jeeten7923

(defun c:myProg()
(princ "Jeff")
(princ)
)
See also