Dino,
Thanks for the reply. Actually, I did have an error in the string, and I
fixed that. But the real problem seems to be with the "Import" statement. I
put my common methods in a file that I then import into the various Python
script files.
It makes sense that the script would error, since, as
ay of accomplishing this that is escaping me? Has anyone
ever done anything similar?
Thanks!
-Mark Grice
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I'm not sure if this helps, but I use a C# class in my IronPython, and it
works fine.
Class is defined using the shorthand get; set;
ie:
public class ScreenTags
{
public String appWindowName { get; set; }
public String fieldName { get; set; }
public bool isDataField {
Michael Foord
Wrote:
>"That will throw a SystemExit exception. You can have exception handling
>in your C# that catches this specific error."
Doh! Yeah... should have checked that. I just didn't figure calling
sys.Exit() was a code exception, so I thought it was something else I was
doing wrong.
I am using IronPython within a C# .NET application.
I have a class that the Python code uses, so I create a scope and set the
variable, then execute the engine like this:
private ScriptEngine scptEngine = null;
private ScriptRuntime scptRuntime = null;
private ScriptScope