There appear to be some differences between how Autocad and DS handle initget with entsel. Below is a simple example that demonstrates the issue. Autocad will evaluate keywords provided by initget in entsel in the same way as the getkword function whilst prompting for object selection.
This is fundamental to commandline menus but it doesn't appear to be working. The below code will not evaluate "Alpha" or "Beta" commandline input but will allow you to select objects. It needs to do both.
;;; Code
(defun c:demo (/ ans flag)
(setq flag t)
(while flag
(initget "Alpha Beta")
(setq ans (entsel "\\nmake your selection[Alpha/Beta]:"))
(cond ((= ans nil)
(setq flag nil)
(prompt "\\nyou didn't select an object, or you did press spacebar or enter, to exit...")
)
((= 'list (type ans))
(prompt "\\nyou did select an object...")
)
((= "Alpha" ans)
(prompt "\\nyou did enter Alpha...")
)
((= "Beta" ans)
(prompt "\\nyou did enter Beta...")
)
);; cond
);; while
(princ)
)