Is there a function in VLisp to check if certain commands/functions are available or not. Here is a problem: I have set of procedures that apply in case of error, so error function has a call to a function that has all these procedures. Among procedures one uses COMMAN function. Now, when user closes a drawing and responses not to save it, AutoCAD cancels something, I see that in the command line (Command: *Cancel*), and then I have no idea why, error function is triggered. At that point, maybe, COMMAN is not available or locked (because AutoCAD is going to close a drawing), and error occurs inside the error function. Unfortunately VLR-DWG-Reactor happened after all and it does not help at all. I would like to have a function to check availability of COMMAN function (in my case). Thanks,