Lisp and dcl

I cannot get an AutoLisp routine that I wrote a few years ago to work with dialog boxes. The program loads and displays the first dialog but if I try to type into the box or just tab the cursor to a new place in the dialog Draftsight locks up and then completely shuts down. The dcl and the lisp program were both written a few years ago for AutoCad.