Subj : Re: relating to JS_DefineFunction To : netscape.public.mozilla.jseng From : SteveHolt Date : Fri Apr 22 2005 07:37 am I don't know if this is what Frank wants to do, but I currently have two related issues. I am currently planning to implement an object with a lot of methods which do similar things, and it would be good to be able to have them all invoke the same C function and apply minor variations there - except I don't know which call the user requested when it gets hit. Similarly I want to implement arbitrary function calls on an object. That is, if you invoke a function on it, it will work out if it can support it at the time. I have already figured that I can pick up on the Get which precedes the call and return a generic function, but again, when that function actually gets called, what was it they asked for again? Steve .