hello,
how can i add a simple method to a simple class in smalltalk x
by using just code without browser .
for example:
why this is not good?
(i tried to do it by the tutorial of smalltalk x.. )
Object subclass: #Tokenizer
instanceVariableNames: 'name'
classVariableNames: ''
poolDictionaries: ''
category: 'MakingSmalltalk-Article2'
Tokenizer>>setName:newName
name:= newName
|t|
t:=Tokenizer new.
t setName:'Miller'.
it doesn't know the method
i want it to connect setName with the class Tokenizer
thanks