Block arguments allow one or more of the … of sending the block the message value, messages … value: messages are assigned to the block arguments … .An example of the use of such a … [ :element ! self process: element] [i.e. each iteration of do: assigns a new value to :element] … [p. 47] As an example, a simple repetition could … | index <- 1. [index < = self] whileTrue: [aBlock value. index <- index + 1]
Google-1
Google-2
Copyright clearance needed for quotation.