How do i create a jagged array in IronPython ? I've tried various methods: jagArray = Array[Array[int]]( ( (1,2), (1,2), (1,2,3), (1,2,3,4) ))
giving the error message: TypeError: expected Array[int], got tuple> also jaggedLengths = Array[int]((1,2,3,4)) cinit = System.Array.CreateInstance(int, jaggedLengths) cinit[0][0] = 3 giving the error message: IndexError: index out of range: 0 Is there another method for creating arrays? Many thanks, Elise
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
