added the new process primitive to create a process with a block as if it has got the value message
This commit is contained in:
@ -243,7 +243,8 @@
|
||||
|
||||
| p |
|
||||
'000000000000000000' dump.
|
||||
p := [ 'xxxxxxxxxxxxxxxxx' dump. 'yyyyyyyyyyyyyyyyyyyyyyyyyy' dump. ^10. ] newProcess.
|
||||
## p := [ | 'xxxxxxxxxxx' dump. 'yyyyyyyyyy' dump. ^10. ] newProcess.
|
||||
p := [ :a :b :c :d | a dump. b dump. (c + d) dump. ^10. ] newProcessWith: #(abc def 10 20).
|
||||
'999999999999999999' dump.
|
||||
p resume.
|
||||
|
||||
|
Reference in New Issue
Block a user