Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Smalltalk global variable
Last updated at 2:51 pm UTC on 3 April 2017
"Smalltalk" is (besides the name of the language) also the name of the global variable in the system which holds the sole instance of SmalltalkImage.

The Smalltalk object contains all global variables(including itself), most of which are references to classes. Additionally, the Smalltalk object responds to system-wide requests like snapshot:andQuit:
 Smalltalk class 
is
 SmalltalkImage

 Smalltalk globals class

is no longer
 SystemDictionary
but
 Environment.

Example of a change of reference after the Environments update March 2017

Update in Tools-jr.745.mcz
 Smalltalk hasClassNamed: aClassName
is replaced with
 self environment hasClassNamed: aClassName


See also: