Re: [Newbies] formatting keyword messages

2008-11-02 Thread Benjamin Schroeder
On Nov 2, 2008, at 9:27 AM, Mark Volkmann wrote: I'm reading Smalltalk Best Practice Patterns. The pattern Indented Control Flow recommends putting each keyword on a separated line, indented with a tab. I like that for long messages, but this one example annoys me. array

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Benjamin Schroeder
On Aug 2, 2008, at 10:43 AM, Sean Allen wrote: if I have class foo that is meant to only be descended from, never instantiated directly. and it has method bar that needs to made concrete by its descendents, what is the standard idiom for that? is there a specific error that should be thrown

Re: [Newbies] What does the - symbol mean?

2008-07-29 Thread Benjamin Schroeder
On Jul 29, 2008, at 8:02 PM, Andy Burnett wrote: I can't find it in my introductory books. The content was: self entries add: aString - aBlock Is it a bit like the underscore character being the same as := ? It's actually a binary (one-argument, infix) method, like +, =, or ==; it's the

Re: [Newbies] Assignment

2007-08-09 Thread Benjamin Schroeder
really mean must be the same object. Hope this helps, Benjamin Schroeder ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

Re: [Newbies] osVersion on MacOSX

2007-08-05 Thread Benjamin Schroeder
/RELEASE_I386 i386 i386 I think it should be safe to assume yes. Actually, my image gives '1049' for SmalltalkImage current osVersion. (I'm not sure how to decipher this, as I am running 10.4.10 ...) I'm running the Carbon VM - are you running the Unix one? Benjamin Schroeder

Re: [Newbies] Laser game tutorial again

2007-07-21 Thread Benjamin Schroeder
a matter of personal style. I haven't read through the whole tutorial, but perhaps the exitSides: method is defined elsewhere. In any case, I'd guess that you are correct and it is trying to do an assignment, although it may also need to do other things. Hope this helps, Benjamin Schroeder

Re: [Newbies] Laser game tutorial again

2007-07-21 Thread Benjamin Schroeder
I not see that. Heh, yes, of course, I feel that way all the time! :) Benjamin Schroeder ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

Re: [Newbies] How to use Mac OS X system fonts?

2007-07-08 Thread Benjamin Schroeder
, you may need to open new ones to see the changes. Hope this helps, Benjamin Schroeder ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

Re: [Newbies] Morph Drop Shadows

2007-05-21 Thread Benjamin Schroeder
be some flag that does the same thing! ;) If I am writing a system with many Morphs like this, I of course put all of this code in a superclass to avoid clutter. Hope this helps, Benjamin Schroeder ___ Beginners mailing list Beginners

Re: [Newbies] [Newbie]Howto find the host OS

2007-02-26 Thread Benjamin Schroeder
On Feb 26, 2007, at 7:41 AM, Mispunt wrote: Is there a way to find out (programmaticaly) on which host Squeak is running? You can use Smalltalk platformName to get the platform on which Squeak is running. Hope this helps, Benjamin Schroeder

Re: [Newbies] indenting code

2006-12-13 Thread Benjamin Schroeder
parts of Smalltalk usage. As others have said, of course the most important thing is to pick a style that works well and use it consistently. I like Beck's style, but as you have seen, there are other good ones in use. Benjamin Schroeder

Re: [Newbies] Re: squeak and the jvm

2006-11-08 Thread Benjamin Schroeder
of both environments, and can use the regular production VM of both. (There are of course still some difficulties.) Benjamin Schroeder ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo

Re: [Newbies] communication with serial port

2006-11-01 Thread Benjamin Schroeder
Hi Jacob, I'd be happy to share my Unix/OS X code if it would help - let me know! Benjamin Schroeder thanks! i would greatly appreciate your code! I'll clean it up a little and post it today (or maybe tomorrow - I'm afraid that now, having offered, today ends up being a bit of a busy

Re: [Newbies] how to create an object (of a selection of classes)

2006-06-22 Thread Benjamin Schroeder
if you saw, but collections also respond to #atRandom directly, so you could do {EllipseMorph. RectangleMorph} atRandom new. Hope this helps, Benjamin Schroeder ___ Beginners mailing list Beginners@lists.squeakfoundation.org http