Am 2010-09-26 um 23:26 schrieb Sean P. DeNigris:
Tobias Pape wrote:
try to use
ArrayedCollection variableSubclass: #ClassBasedCharacterArray instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Collections-Arrayed'
(as in Array.) As Alan Rodas points out, if the class isn't variable, #new: cannot be used.
Thanks. Where can I read about what's actually happening here? I've never heard of this alternate subclass method, and I'm running into other problems.
Sean
From gnu-smalltalk, but most should apply: http://www.gnu.org/software/smalltalk/manual/html_node/Inside-Arrays.html#In...
in the blue book, i only found two references to variableSubclass. On page 289 is a little explanation, don't know if that suffices. So Long, -Tobias