[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Argument blocks, value: and -infinity.



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