--- a/Block.st Tue Nov 21 13:10:30 2017 +0100
+++ b/Block.st Tue Nov 21 13:10:41 2017 +0100
@@ -84,9 +84,9 @@
coll do:[:eachElement | Transcript showCR:eachElement ].
Blocks keep a reference to the context where it was declared -
- this allows blocks to access the methods arguments and/or variables.
+ this allows blocks to access the method's arguments and/or variables.
This is still true after the method has returned - since the
- block keeps this reference, the methods context will NOT die in this case.
+ block keeps this reference, the method's context will NOT die in this case.
(for experts: Smalltalk blocks are technically lambdas/closures)
A return (via ^-statement) out of a block will force a return from the
@@ -666,7 +666,6 @@
"Created: / 28-08-2010 / 14:41:15 / cg"
! !
-
!Block methodsFor:'accessing'!
home