[IronPython] Cast double to object

Brian Ashcroft BRIAN.ASHCROFT at asu.edu
Wed Mar 9 08:43:32 PST 2011

I have an array of type object that I am trying to populate from inside
a script.  I create the data, type it and assign it to the array.
However, it seems that ironpython will only accept data that has been
cast to int.  Here is the code, can you tell me what I am doing wrong?


RectangleToken = Filters.GeneralToken()

      mRectangleToken.Parameters =Array[object](range(1))


      Filter =Filters.Effects.Morphology.OpeningTool()


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20110309/595d5db7/attachment.htm>

More information about the Users mailing list