Nov. 28, 2010
9:37 p.m.
Hi All, I'm wondering about documentation to describe the block semantics of Pharo Smalltalk, Specifically around the return context when a block contains a return: [ ^ foo ] Is a block valid only within the method that defined it and passed / called it? I think it is, and when called outside of the context there is a BlockContext no longer exists error. However, I'm looking for documentation or confirmation to ensure my testing was correct. Rgs, James.