I have used "initget" a lot without any problems until I am working on a new code.
In the code, I set two groups of keyword by using "initegt" and this is a sample:
(initget "A B C")
(setq ABC (getstring "\nSelect a Letter (A/B/C): "))
(if (eq ABC "A")
(prompt "Print letter A.")
); end if
...
(initget "D E F")
(setq DEF (getstring "\nSelect a Letter (D/E/F): "))
If I enter "D", "E" or "F" in the line of "setq DEF...", it returns "Invalid option keyword."
If I enter "A", "B" or "C" it accepts.
Is there anything that I did wrong?
Your helps are much appreciated.