Elise Langham (Elanit) wrote:
Thanks for the swift reply (:
Unfortunately
jagArray = Array[Array[int]]( ( Array[int](1,2), Array[int](1,2),
Array[int](1,2,3), Array[int](1,2,3,4) ))
Gives another error message: TypeError: Array 1 () takes exactly 1 argument, (2
given)
Any idea what the problem is ?
My mistake, sorry:
jagArray = Array[Array[int]]( ( Array[int]((1,2)), Array[int]((1,2)), ...)
The argument to the constructor must be a tuple.
Michael
Elise
------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com