Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
aBlock value
Last updated at 12:34 pm UTC on 21 November 2017
If the message #value is sent to a code Block it is is evaluated.

 [3 + 4] printString
gives
 [3 + 4]  [closure] in UndefinedObject>>DoIt
in a recent version of Squeak.

whereas

 [3 + 4] value
is
 7

Another example: A block as the target of a SimpleButtonMorph