Confusion with instances and events

Tom Phoenix rootbeer at redcat.com
Mon May 1 19:56:45 UTC 2006


On 5/1/06, Cowdery, Bob [UK] <Bob.Cowdery at cgi-europe.com> wrote:

> The odd thing is that all the other components work without doing this
> assignment. Another oddity that may shed more light is that if I do 'Pan
> allInstances' I get an empty array even though I have done 'Pan new.'

This sounds as if your object was garbage collected. If you want to
keep your object, store it somewhere. Objects that aren't stored
anywhere get cleaned up.

Hope this helps!

--Tom Phoenix



More information about the Squeak-dev mailing list