Search the Community
Showing results for tags 'setq'.
Found 2 results
Request a variable and set a new variable with If function
Manuel_Kunde posted a topic in AutoLISP, Visual LISP & DCLHi, I'm trying to query the variable "Weight" and if it has the content "50" I want to define a new variable: "Stamp" with the content "internal". Is WCMATCH the right command for this? (if (= wcmatch Weight "50") (progn (setq stamp "intern"))) (princ)
Simple setq not working...
Perifanos posted a topic in AutoLISP, Visual LISP & DCLWhy this simple command is not working? (setq p (* (/ 1 12.0) e)) e=16.9988 (Returns p=0.0 )