[IronPython] Who understands ByRef?
jsacksteder at gmail.com
Mon Oct 16 22:36:36 CEST 2006
Can anyone enlighten me?
On 10/14/06, jeff sacksteder <jsacksteder at gmail.com> wrote:
> On 10/13/06, Martin Maly <Martin.Maly at microsoft.com> wrote:
> > Int16 is a type: System.Int16 and I am calling its constructor, passing
> > "output" as the value: System.Int16(output), just like in Python you
> > can call: int(3.5), this is very similar, except constructing .NET
> > System.Int16 type.
> An excellent description. However-
> "TypeError: no overloads of AIn could match (int, Range, Int16)
> AIn(int, Range, Reference[Int16])
> AIn(int, Range, Reference[UInt16])"
> I think I should be using System.Type.MakeByRefType, but I'm not quite
> getting it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users