Ah, because I am trying to use Iron Python as a scripting language for my application. I want to expose a limited subset of my appservice functions to the scripting language,and let users write scripts.
On 10/18/07, JoeSox <[EMAIL PROTECTED]> wrote: > > On 10/18/07, Joshua J. Pearce <[EMAIL PROTECTED]> wrote: > > Joesox, > > > > Thank you very much! Now, what if I the getcount() method was actually > > getcount(string arg1), is there a way to call it from within the IP > script? > > I don't see why you would want to if you are using an IronPythonEngine > > Just do... > //Call your Service method and assign return value to a global > COUNT = myAppService.getcount("my arg1"); > > > Or do I need to parse the IP script ahead of time, and call the function > > myself? That would be like writing my own scripting language, so I hope > > there is a way to call the method from within IP scripts. > > I still don't see why you would need it in the script if you are using C#. > -- > Later, JoeSox > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > -- Joshua Pearce
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com