Input values are getting "error: bad argument type: consp"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hopefully someone can help me with this issue. I haven't written a LISP program in 30 years, so I may be overlooking something obvious. Please refer to the attached files. This is a simple program, but instead of looking like Fig. 2, I get Fig. 1 (with two lines drawn vertically on top of each other.)
I believe it is due to an error with my user inputs values.
When I check my user input values [USING: (CAR SR)], all of the values are numerically correct, but I get
"error: bad argument type: consp" for all three of my GETREAL inputted variables (SR. LR, AN).
The SP input variable using GETPOINT is fine.
If anyone can help me fix this I would really appreciate it.
If you have any thoughts on getting the lines trimmed as in Fig 3., I would be really happy!
Thanks,
Anthony