Additional Block methods are supported in CPM that allow a block to be evaluated, with or without arguments, and the result of the last statement answered. These methods follow in Block evaluation methods.In Block evaluation methods, anObject, anotherObject, and thirdObject refer to the first, second, and third parameters of the method.Evaluates the receiver with parameter anObject. Answers the result of the last statement to be evaluated.Evaluates the receiver with parameters anObject and anotherObject. Answers the result of the last statement to be evaluated.Evaluates the receiver with parameters anObject, anotherObject, and thirdObject. Answers the result of the last statement to be evaluated.Evaluates the receiver with parameter anObject. Answers the result of the last statement to be evaluated. When the receiver returns, evaluate the specified block.Evaluates the receiver with parameters anObject and anotherObject. Answers the result of the last statement to be evaluated. When the receiver returns, evaluate the specified block.Evaluates the receiver with parameters anObject, anotherObject, and thirdObject. Answers the result of the last statement to be evaluated. When the receiver returns, evaluate the specified block.These additional Block methods allow a block to be evaluated, with or without arguments, and the result of the last statement answered. anObject, anotherObject, and thirdObject parameters refer to the first, second, and third parameters of the method.
|