Category:Smalltalk: Difference between revisions

Line 347:
1) not supported by all dialects. If missing in a particular dialect, a Parser extension is required.
 
===Variables===
===Special "builtin" Pseudo Veriables===
By convention, global and namespace variables are to be used for classes only. As in every other language, it is considered extremely bad style to use globals for anything else.
They are created by telling the namespace to add a binding, as in <lang smalltalk>Smalltalk at:#Foo put:<something></lang>
 
===Special "builtin" Pseudo VeriablesVariables===
<lang smalltalk>self "refers to the current receiver"
 
Anonymous user