[Vm-dev] Identifiying BlockContext returns to caller context or home context from source

gettimothy gettimothy at zoho.com
Mon Dec 9 18:40:59 UTC 2013


Does sending the message 'value' to a block always mean the return is to the caller context? or are there instances where the return is to the home context?
[burp + self wonk] value.


Conversely, if there is no value message sent to the block, do  I know that the return context is the home context (i.e. where the block was defined) and never to a caller context?
boop ifTrue:[ ^self latestAnswer]

I am assuming yes, but given that my last assumption was incorrect, I thought I would ask.

Just a simple yes or no is sufficient.

thx.

tty


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20131209/a4725048/attachment.htm


More information about the Vm-dev mailing list