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@qut.edu.au
homepage
http://www.fit.qut.edu.au/~sitte