[Pharo-project] Block explained continued

Helene Bilbo thereluctantprogrammer at fastmail.fm
Mon Jan 30 00:15:15 CET 2012

I read your text and am confused about "returing" _from_ or _to_ the
homecontext and "escaping to" the homecontext. Do I understand it right this

- As a block is executed always in it's home-context, when there is an
explicit return statement inside the block, this return statement will also
be executed in the home-context, which means this return statement makes the
execution return *from* the home-context (*not* return from the context in
which the value message was sent *to* the home-context?)?

- The word 'continuation' is used when there is an explicit return statement
in a block - It means the execution continues in the context "before" the

View this message in context: http://forum.world.st/Block-explained-continued-tp4338472p4339548.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

More information about the Pharo-project mailing list