![]() |
![]() |
![]() |
![]() |
![]() |
|
Whenever a set of statements is delimited by brackets, that set of
statements constitutes a block. Thus,
[Transcript show: 'You have had enough'; cr] is a block consisting
of a single statement, which contains only a single cascaded expression.
Thus, in ifTrue: expressions, the receiver is true or
false, the selector is ifTrue:, and the argument is a block.