in reply to Re^5: Negative array subscript method call bug?
in thread Negative array subscript method call bug?

...there's nothing remotely close to a modification there.

Sure there is. The reference operator must have something to reference. And inorder to reference an element of an array the array element must exist. Thus before the reference can be taken it tries to create the element, but fails because it makes no sense. Try doing the same thing but with a positive index, and then print out how large the array is afterwards....


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


  • Comment on Re^6: Negative array subscript method call bug?