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:
hyunghwan.chung
2015-10-22 02:47:25 +00:00
parent 96011578c8
commit 2aef6b9bab
7 changed files with 159 additions and 63 deletions

View File

@ -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.