Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am very new to lisp and am a bit confused. I am trying to use two separate instances of initget and getkwords.
Basically I want to ask the user two separate questions, each of which have 2 different answers. Can anyone shed some light on what I might be doing wrong here?
Generic Example:
(initget 1 "A B")
(setq ans (getkword "\nChoose [A/B]: "))
(initget 1 "C D")
(setq ans1 (getkword "\nChoose [C/D]: "))
END OF EXAMPLE
I would eventually use thier choices to these two questions later on in my actual function.
When I do this though, it doesnt seem to recognize C & D and keywords.
Not sure how to work around this. I learn best from simple examples.
Thank you in advance!
Solved! Go to Solution.