RE: [Newbies] variableWordSubclass:

2006-07-02 Thread Joaquin Sitte
o even the most basic questionsabout > Squeak. > Subject: Re: [Newbies] variableWordSubclass: > > Joaquin, > > > I wish to create a subclass of FloatArray for a dynamic system > simulation. When creating the class with #subclass: the > > method is automatically

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread ncellier
Sorry to repost, my webmail interface was using html instead of plain text... To understand a little bit more: When you execute (FloatArray new: 2), you send message #new: to class FloatArray with argument 2. Message #new: is looked up in the receiver class methodDictionary, that is (FloatArr

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread ncellier
To understand a little bit more: When you execute (FloatArray new: 2), you send message #new: to class FloatArray with argument 2. message #new: is looked up in the receiver class methodDictionary, that is (FloatArray class) here. Note that FloatArray class is a an instance of Metaclass, which is

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Yoshiki Ohshima
Joaquin, > 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

Re[2]: [Newbies] variableWordSubclass:

2006-06-26 Thread Herbert König
Hi John, >> So far I've seen the hierarchy of FloatArray the method "new:" >> isn't on the class side anywhere. This is the reason because you >> get an error. cre> i'm a real rookie here, but what does it mean - "new:" isn't on the cre> class side anywhere? where is "new:" then? if you can

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Damien Cassou
> where is "new:" then? The method whose selector is #new: is implemented on the instance side of Behavior and on the class side of some other classes (String, Set, Array...). ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lis

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Damien Cassou
dv2 _ DynamicVariable new: 2 So far I've seen the hierarchy of FloatArray the method "new:" isn't on the class side anywhere. This is the reason because you get an error. #new: is implemented in Behavior which is the superclass of Class. FloatArray new: 5 is correct for example __

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread cummij
hi- > So far I've seen the hierarchy of FloatArray the method "new:" isn't on the > class side anywhere. This is the reason because you get an error. i'm a real rookie here, but what does it mean - "new:" isn't on the class side anywhere? where is "new:" then? john cummings

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Frank Urbach
Hi Joaquin,   >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   I think the the _expression_ "ArrayedCollection subclass: #DynamicVariable" is the rig

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Damien Cassou
Joaquin Sitte a écrit : 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 > [...] In my opinion,

[Newbies] variableWordSubclass:

2006-06-26 Thread Joaquin Sitte
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: