logo       

Re: variables declared in workspaces: msg#00053

lang.smalltalk.squeak.beginners

Subject: Re: variables declared in workspaces

On Nov 9, 2007, at 22:07 , gruntfuttuck wrote:


Hi,
I added this code to a workspace:

oneMinBeeper := TaskScheduler new.
oneMinBeeper do: [Beeper beep] every: 1 minute.
oneMinBeeper start.

I then deleated the the workspace thinking that it would take the
oneMinBeeper object with it. exactly one minute later I realized that's not
how it works! How do I now access this object? How can I kill it.


Try inspecting "TaskScheduler allInstances".

Also some general info where objects live would be useful. I notice that if
I open up another workspace and inspect oneMinBeeper, that it's referred to
an undefined object but it must be defined somewhare as it's still beeping.

If it actually forked a process then it is in the process list. Use the Process Browser to see it.

- Bert -


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise