[Newbies] Re: mix ins

2016-08-02 Thread Joseph Alotta
Hi Bert, I downloaded Squeak 5.0. Seems to work well. But I have a few issues: 1. How do I make the system font bigger? 2. How do I make the flaps disappear? Sincerely, Joe. -- View this message in context: http://forum.world.st/mix-ins-tp4909171p4909225.html Sent from the Squeak

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 8:55 PM, Joseph Alotta wrote: > 4.3 > > What is the procedure for upgrading? Should I file-out the classes, > download the new version and then file-in? > That would be one simple way to do it, yes. OTOH if you're happy with 4.3 there is no need to upgrade - just add the

[Newbies] Re: mix ins

2016-08-02 Thread Joseph Alotta
4.3 What is the procedure for upgrading? Should I file-out the classes, download the new version and then file-in? Sincerely, Joe. > On Aug 2, 2016, at 1:31 PM, Bert Freudenberg [via Smalltalk] > wrote: > > On Tue, Aug 2, 2016 at 5:48 PM, Joseph Alotta <[hidden email]> wrote: > Bert, >

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:39 PM, Joseph Alotta wrote: > > > On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk] <[hidden > email] > wrote: > > > > Thirdly, to keep these "extension methods" in your own package, put them > in a method

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:48 PM, Joseph Alotta wrote: > Bert, > > I don’t have these methods. I get an error. See attached: > Are you using Squeak 5.0? - Bert - ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfound

[Newbies] Re: mix ins

2016-08-02 Thread Joseph Alotta
Bert, I don’t have these methods. I get an error. See attached: Sincerely, Joe. > On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk] > wrote: > > Firstly, these methods exist already. They are defined in > SequencableCollection, a superclass of Array, so Array inherits them:

[Newbies] Re: mix ins

2016-08-02 Thread Joseph Alotta
> On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk] > wrote: > > Thirdly, to keep these "extension methods" in your own package, put them in a > method category that starts with an asterisk followed by your package name. > That is, if your Monticello package is named "Foo-Bar", the

Re: [Newbies] mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:03 PM, Joseph Alotta wrote: > Greetings, > > I want to add a method to the Array class. > > #(‘abc’ ‘def’) join => ‘abcdef’ > > #(‘abc’ ‘def’) join: $/ => ‘abc/def’ > > I am afraid that if I add it to Array directly, it will get lost in a new > update. I want to keep it

[Newbies] mix ins

2016-08-02 Thread Joseph Alotta
Greetings, I want to add a method to the Array class. #(‘abc’ ‘def’) join => ‘abcdef’ #(‘abc’ ‘def’) join: $/ => ‘abc/def’ I am afraid that if I add it to Array directly, it will get lost in a new update. I want to keep it in my project area. In ruby, this is called a “mix in”. How can I d