Have any of you ever had luck in writing a function that will in turn define other functions on the fly? I have a specific need for this, however I have not yet been able to get it done. The exact specifics of this are:
- I want a lisp function that I can call within another function that will define a LISP command wrapper for a VBA macro/program. (is this making any sense?)
- I want to be able to pass this function a list of lists with the following structure '( (cmdname vbafilename macroname) ...) and from this have it create command line accessible macros. (am I smoking too much crack?)
I know I can have LISP write out another .lsp file and then load it, but that's not what I'm really after. Although, if it comes down to it, then I will have to go with that route.
Anybody?? Anybody at all??
(hears the sound of crickets in the late autumn sunset...)