From: Charles D Hixson
Sent: Tuesday, May 09, 2006 1:16 AM
I know that in some languages this matters, and in others it doesn't.
If a method doesn't explicitly have a return value it will return self, but
you should never count on that, small changes to the method will have a
tendency to
Enrico Schwass wrote:
Hello
First of all. The creation of this mailinglist was a very good idea.
Reading the original list I always felt wrong, because of the very high
level of questions and ... yes answers. Thanks :)
Anyway. I was looking for a crossSum Method for Integers.
e.g. 251 crossSum
Enrico Schwass wrote:
Hello
First of all. The creation of this mailinglist was a very good idea.
Reading the original list I always felt wrong, because of the very high
level of questions and ... yes answers. Thanks :)
Anyway. I was looking for a crossSum Method for Integers.
e.g. 251
This is being forwarded as Hernán is not a member of list.Hi Steve,ListItemWrapper was meant to be subclassed rather than used directly, and asyou said its not simple at all.Answering your question what you need to do is to have your ownListItemWrapper class and make it answer to #contents with
Yoshiki Ohshima wrote:
Charles,
Todd Blanchard wrote:
The rule is, if you don't return a value, then self is returned.
There's no such thing as a void message like in C++ or Java.
Tell me what you want to do and I'll see if I can scare up some examples.
On May 8, 2006, at
Hello again cdrick,
I believe you should be using the driver
from http://map.squeak.org/package/a8d3ca99-f5f4-45e0-9aa7-100a77b64f45/autoversion/3
You should also load the cryptography
package. You can either load the old one from squeakmap or the newer one from Monticello. If you
If you are building very long strings by using , in an inner loop, it
can be slow because you will have an N squared algorithm. You can
convert that into a linear time algorithm by writing to an WriteStream
using nextPut: and nextPutAll: and then asking the WriteStream for its
contents. It
Hi all,
I just subscribed to the list and found that crossSum debate in the
archives.
I did an implementation a while ago for musinum, a fractal music
generator, that can be found on squeakmap.
(for a professional implementation see also http://reglos.de/musinum )
I did it this way: