[IronPython] Re: 'out' parameters

2005-05-11 Thread Nick Jacobson
Martin, I appreciate you giving this some thought. I can't think of an elegant solution either.. I found a method called TestCooperativeLevel that doesn't use an 'out' parameter to return the device's status. Instead, it throws a different Exception based on the device's status. Therefore it

[IronPython] Re: 'out' parameters

2005-05-11 Thread Nick Jacobson
ter), the value comes back as a function return value. Martin -Original Message- From: users-ironpython.com-bounces at lists.ironpython.com [mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of Nick Jacobson Sent: Tuesday, May 10, 2005 11:08 PM To: users-ironpython.com at

[IronPython] 'out' parameters

2005-05-10 Thread Nick Jacobson
How will IronPython deal with functions that, in C#, use an 'out' variable? For example, in Microsoft.DirectX.Direct3D, this function exists: public bool CheckCooperativeLevel(out int result); If I call this from IronPython, there's no way that the value of result would be modified, right? But it

[IronPython] Re: IronPython 0.7.4 released

2005-05-03 Thread Nick Jacobson
Michael Spencer wrote: << import __builtin__ >>> dir(__builtin__) ['ArithmeticError', 'AssertionError', 'AttributeError', 'DeprecationWarning', 'E OFError', 'Ellipsis', 'EnvironmentError', 'Equals', 'Exception', 'False', 'Float ingPointError', 'FutureWarning', 'GetHashCode', 'GetType', 'IOError',