[Newbies] Smalltalk constants

Delyan Kalchev delyank at gmail.com
Wed Nov 5 09:43:38 UTC 2008


Is there a good way to create a named constant in Smalltalk. For
example the name MyNamedConstant to be constant bind to the number 2
or even to a non-constant object, like the pseudo-variables nil or
true are bind to their objects and the programmer cannot change them
to point to other objects.


More information about the Beginners mailing list