[Q] how to sleep(1)

Ned Konz ned at bike-nomad.com
Sun Apr 28 20:36:37 UTC 2002


On Sunday 28 April 2002 12:12 pm, Stephan B. Wessels wrote:
> How about
>
>     [(Delay forSeconds: 2) wait. Smalltalk beep] fork
>
> You can also use forkAt: for priority setting of your forked task.

You really don't want to do that if you need to do something in 
Morphic after the delay.

Better to look at Morph's addAlarm: family of messages.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list