Re: [IronPython] Returning an object from a script

2008-07-03 Thread Barry Carr
Hi Curt, Thanks very much. That worked a treat. I'm new to the DLR and IP2 so I didn't know about GetVariable. Cheers Barry Carr Curt Hagenlocher wrote: You never actually assign a value to "obj". SetVariable doesn't create a linkage between your local variable a

[IronPython] Returning an object from a script

2008-07-03 Thread Barry Carr
self.msg = msg def Up(self): print self.msg def Down(self): print "Down" instance = Hello() Am I close or barking up the wrong tree? Thanks. Cheers Barry Carr ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
Hi, I've figured it out and got it working. I created a module and made sure that it was published and that seems to have been the answer. Thanks Dino for pointing me in the right direction. Cheer Barry Carr ___ Users mailing list

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
self.destFile = destFile self.TokenExpression = Regex("{(.+)}$", RegexOptions.Compiled) print self.TokenExpression ... Surely, this can't be right? Cheers Barry Carr Barry Carr wrote: > Hi Dino, > > Dino Viehland wrote: >> Does this simple case wo

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
Hi Dino, Dino Viehland wrote: > Does this simple case work for you? It works for me on 1.0, 1.1, and 1.1.1: > Yes, it works fine. Cheers Barry Carr ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi

[IronPython] v1.1.1: Problem loading assembly, I think

2008-02-13 Thread Barry Carr
dback("*** Python Engine reports ***", "*** " + pne.Message + " ***"); } catch( Exception ex ) { UpdateFeedback("*** Unexpected Error ***", "*** " + ex.Message + " ***"); }