Can anyone tell me why I cannot return usable information in nested
lists?  In this example, I can build and access myList just fine and
print it correctly through the "out" output but the A output returns
<null>.  Any help would be greatly appreciated.

    Dim myList As New ArrayList()
    Dim oneLine As New ArrayList()

    Dim startPoint As On3dPoint = New On3dPoint(0, 0, 0)
    Dim endPoint As On3dPoint = New On3dPoint(5, 5, 5)

    oneLine.Add(startPoint)
    oneLine.Add(endPoint)
    myList.Add(oneLine)

    print("startPoint = " & myList(0)(0).toString)
    print("endPoint = " & myList(0)(1).toString)

    A = myList

Reply via email to