Squeaking trouble

Bob.Cowdery at CGI-Europe.com Bob.Cowdery at CGI-Europe.com
Mon Nov 14 15:13:56 UTC 2005


Ok - I admit I don't know what I am doing but then that's always the best
way to break something. Is Squeak that flaky or am I just being really
unlucky? I have to say I have had more lock-ups in the short time I have
been using Squeak than in any other language system I have used. Quite a few
in Morphic but the last one simply doing this:

 

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.

 

I was simply trying to understand why forceTo: paddingStartWith: didn't work
if the length was more than the original string. What I wanted to do was add
a calculated number of padding '0' characters in front of my string. I was
using a base class method because padded: to: with: also didn't work if to:
was greater than the string length. I must be reading these completely wrong
somehow. Can someone restore my confidence please.

 

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/20051114/1826cf83/attachment.htm


More information about the Squeak-dev mailing list