Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What is the error of this logic?
Why does not the loop work?
How to make it work?
(defun c:test (/ v1) (initget "A B ") (while (setq v1 (getkword "\n [A/B]: ")) (if (= v1 "A") (Command "_.Insert" "c:\\Test\\Test.Dwg" "_Scale" 1 pause 0 "_.explode" "_last") (Command "_.Insert" "c:\\Test\\Test1.Dwg" "_Scale" 1 pause 0 "_.explode" "_last") ) ) )
Solved! Go to Solution.