[Newbies] variables declared in workspaces

Bert Freudenberg bert at freudenbergs.de
Fri Nov 9 22:56:06 UTC 2007

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 -

More information about the Beginners mailing list