Squeaking trouble

Bob.Cowdery at CGI-Europe.com Bob.Cowdery at CGI-Europe.com
Tue Nov 15 10:06:31 UTC 2005


All

> x := SequenceableCollection new, then try to print x. Lock-up + 100%
> CPU. The only response is from the main window, quit without saving then 
> kill squeak as it's still running.

Thank you to everyone for the discussion and the tips. I enjoyed reading it.
I now save my image much more frequently. Things like this become much less
of an issue once they are understood. In my defense I would say that I
didn't read the comments for the class, my fault. However, apart from the
comment I am at a loss to understand what makes this class abstract, there
is no special protocol in the class definition and all the methods appear to
have an implementation. I was expecting to find subclassResponsibility
somewhere like it says in http://minnow.cc.gatech.edu/squeak/472. 

> I was simply trying to understand why forceTo: paddingStartWith: 
> didn't work if the length was more than the original string.

On this point which I think got masked by the first point. I have now
discovered that '0' is not the same as $0. Saying paddingStartWith: '0'
gives an indexing error. Probably blindingly obvious to anyone who has
worked with Smalltalk for a while. 

Regards
Bob

*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051115/438dd123/attachment.htm


More information about the Squeak-dev mailing list