[Newbies] [Q] What is wrong here ?

Jerome Peace peace_the_dreamer at yahoo.com
Tue May 12 20:21:47 UTC 2009





--- On Sat, 5/9/09, Edgar J. De Cleene <edgardec2001 at yahoo.com.ar> wrote:

> From: Edgar J. De Cleene <edgardec2001 at yahoo.com.ar>
> Subject: Re: [Newbies] [Q] What is wrong here ?
> To: peace_the_dreamer at yahoo.com
> Date: Saturday, May 9, 2009, 3:24 PM
> On 5/8/09 10:19 PM, "Jerome Peace"
> <peace_the_dreamer at yahoo.com> wrote:
> 
> > You have left out some important details.
> > There seems to be a class involved.
> > What is it. Is grid an ivar of that class?
> > 
> > ====
> > Also, Why not do a mockup in a workspace first?
> > Why not just create the row then collect the centers
> from the submorphs?
> > 
> > e.g.
> > squarePrototype := what you said for square.
> > 
> > topRow := what you said for topRow
> > 
> > anInteger timesDo: [ topRow addMorph: squarePrototype
> copy ] .
> > 
> > then make
> > 
> > grid := topRow submorphs collect: [ :each | each
> center ] .
> >  
> > 
> > Yours in curiosity and service, -Jerome Peace
> Old friend:
> 
> Yes, grid is a ivar of a class.
> Yes, of course was the first very unoptimized sketch and of
> course usually I
> do mockups in a workspace first, and sometimes I use the
> beautiful of
> Smalltalk and start to see what is going on with classes
> and objects.
> 
> But you miss the point I ask....
> 
> Why you have the wrong values if don't put a self halt
> ?
> 
> I say is very , very odd some give a value without a self
> halt and other
> value if you put the self halt.

I can't reproduce the problem. 

Can you isolate the relevant code and upload? Or produce an specific example of the problem that can be reproduced?

The reason I didn't look into the question you asked was that there was not enough info. The first rule of trouble shooting is first hand information.

No sense trying to guess the answer.
Squeak has too many bugs. I'm as likly to find one of the other ones as yours.


> By the way , I polishing the still rough corners for having
> a Squeak version
> of MahJongg for sharing with all squeakers and get
> feedback.
> 
> Stay tuned and always a pleasure.
> Yours
> Edgar


      


More information about the Beginners mailing list