[Newbies] variableWordSubclass:

Joaquin Sitte j.sitte at qut.edu.au
Mon Jun 26 12:27:53 UTC 2006


Hi,

Please can someone explain the behaviour described below?

 

I wish to create a subclass of FloatArray for a dynamic system simulation.
When creating the class with #subclass: the method is automatically changed
to #variableWordSubclass: as follows

 

FloatArray variableWordSubclass: #DynamicVariable

 

That is fine. But when I wish to create an instance

 

dv2 _ DynamicVariable new: 2

 

I get an error telling me that #new: is not understood. However #new: is
understood by the superclass #FloatArray. Why?

 

And, by the way, the method #variableWordSubclass cannot be found with
Method Finder. Why?

 

Many thanks in advance.

 

 

Joaquin

 

Dr. Joaquin Sitte,  Associate Professor.
School of Software Engineering and Data Communication Faculty of Information
Technology 
Queensland University of Technology 
GPO Box 2434, Brisbane, Q 4001 Australia 
Phone +61 7 3864 2755 
Fax +61 7 3864 1801 
e-mail: j.sitte at qut.edu.au 
homepage  <http://www.fit.qut.edu.au/~sitte>
http://www.fit.qut.edu.au/~sitte

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20060626/60915616/attachment.htm


More information about the Beginners mailing list