newbie's question

Chris Burkert chris at chrisburkert.de
Thu May 13 08:27:17 UTC 2004


Jenny wrote:
> Hi,
> 
> I wrote a method as follows.
> 
> initialize: xAxis values: yAxis
> "construct a polygonal membership function"
> 
> (xAxis size = yAxis size)
> ifFalse: [^self error:'The two vectors must in the same size.']
> ifTrue: [x_xAxis.
> y_yAxis.].
> 
> When I execute this method by the commands, It tell me "MfLinear 
> class(Object)>>doesNotUnderstand: #initialize:values:"
> 
> v1_#(1 3 5 5 9)
> v2_#(0 1 1 0 1)
> mm_MfLinear

mm _ MfLinear new.

> mm initialize: v1 values: v2

Regards
            Chris Burkert
-- 
http://www.chrisburkert.de/



More information about the Squeak-dev mailing list