[IronPython] Need a Good Embedded Example
Joshua J. Pearce
joshua.pearce at gmail.com
Thu Oct 18 18:22:20 CEST 2007
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 <joesox at gmail.com> wrote:
> On 10/18/07, Joshua J. Pearce <joshua.pearce at gmail.com> 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
> 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 at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users