DependentsArray size and subscript is out of bounds

mathieu mathk.sue at gmail.com
Wed Jul 19 22:38:49 UTC 2006


Hi,

It is normal that:

(DependentsArray new: 100) size

return 0?

If yes so why?

And if I do:

| o |
o := WriteStream on: (DependentsArray new: 100).
1 to: 24 do: [:each | o nextPut: Object new]. "do it sevral time"

it raise an error 'subscript is out of bounds: 22' from time to time
why?

Thx
Math



More information about the Squeak-dev mailing list