Argument blocks, value: and -infinity.
David.Ungar at Eng.Sun.COM
Wed Sep 23 21:54:06 UTC 1992
Glad you are using it!
I think the following should work:
blahMethod: withArg SpecialBlock: myBlock = (
myBlock value: 10 With: 20.
I want to call it with:
blahMethod: myArg SpecialBlock: [ | :firstArg. :secondArg |
" do neat things with the arguments "
Note value:With: instead of value:Value: and also note the period
I am doing this from memory, so I hope I have got right.
More information about the Self-interest