Argument blocks, value: and -infinity.

Dave Ungar 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
after ":firstArg".

I am doing this from memory, so I hope I have got right.

good luck!

Dave Ungar

More information about the Self-interest mailing list