[squeak-dev] Idioms | How to send messages in Context?
Marcel Taeumel
marcel.taeumel at hpi.de
Mon Apr 19 09:32:53 UTC 2021
Hi all!
Take a look at this:
When would a context use #send:to:with: and when just directly send it?
self send: #cannotReturn: to: self with: {value}.
self cannotReturn: value.
self send: #cannotReturn:to: to: self with: {value. self}.
self cannotReturn: value to: self.
There are other examples. See:
Context >> #jump:if:
Context >> #return:from:
Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210419/d2b9962f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 151341 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210419/d2b9962f/attachment-0001.png>
More information about the Squeak-dev
mailing list
|