
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm trying to write a lisp to draw some circles inside of a polygon, given some user input.
The code doesn't work so far and, especially after I built a while-loop in. The code runs as long as the loop-check returns nil and then sops (as it should) but the result on the screen isn't what I was looking for.
Now, I would like to know which value each variable has taken, in order to better find the error, but after running (almost) all variables are "nil" or in some cases, they have one value I set as a test before running the lisp. Is there a way to make the program "remember" all its variables' values?
I hope it makes sense..
I declare all my variables as global variables with setq.
PS: I attached the code, in case somebody wants to have a look. The while loop causing the problem is starting at line 166 (now as a comment).
Solved! Go to Solution.