|
Here is a simple example about fork.
Try the following :
10 timesRepeat: [ (Delay forSeconds: 1) wait. Transcript show: ‘hello’;cr].
Then the following :
[10 timesRepeat: [ (Delay forSeconds: 1) wait. Transcript show: ‘hello’;cr]] fork.
I think this should go in an introduction to Pharo.
Annick
|