Re: [Newbies] Re: Recap: How to empty a collection

2008-02-19 Thread Mathieu Suen
On Feb 19, 2008, at 10:36 PM, Klaus D. Witzel wrote: On Tue, 19 Feb 2008 22:14:49 +0100, Blake wrote: I've been following this debate with some interest, but I think it's gone beyond a noob discussion. Is there a noob answer to this question? There ought to be. I'm sort of leaning

Re: [Newbies] block in recursion, Any cure for that kind of situation?

2008-01-22 Thread Mathieu Suen
On Jan 23, 2008, at 1:00 AM, Marcin Tustin wrote: So am I right in thinking that if I get newCompiler, blocks will work as I would expect them to (like lambdas)? If so, how do I get the most recent version? I remember there being something that has superceded squeakmap, but I can't seem to

Re: [Newbies] parenthesis always inserted in pairs?

2008-01-14 Thread Mathieu Suen
Hi Christoph You've to disable eCompletion Open the Preference Browser go to browsing and here you have the ecompletionEnabled preference. You will also lose the completion. Cheers On Jan 14, 2008, at 2:39 PM, Ch Lamprecht wrote: Hi, is there a way to switch off the 'paired' insert of ()

Re: [Newbies] code completion

2007-07-21 Thread Mathieu Suen
Yes get it from damien's image: http://damien.cassou.free.fr/squeak-dev/ Mth On Jul 21, 2007, at 6:50 PM, gruntfuttuck wrote: In one of the images I played around with it had code completion, I don't remember which version it was. Is there a way to enable it in v3.9? Regards,

Re: [Newbies] [Q] A really silly question

2007-05-10 Thread Mathieu Suen
It's at compiled time no message is send. -15 is a token http://blog.3plus4.org/2007/05/06/whats-a-binary-selector/ Mth On May 10, 2007, at 7:55 PM, Edgar J. De Cleene wrote: El 5/10/07 2:43 PM, Rob Van Pamel [EMAIL PROTECTED] escribió: You don't have an object where you

Re: Re[2]: [Newbies] [Q] A really silly question

2007-05-10 Thread Mathieu Suen
nextLiteral | prevToken | prevToken _ self advance. (prevToken == #- and: [token isKindOf: Number]) ifTrue: [^self advance negated]. ^prevToken Mth On May 10, 2007, at 8:43 PM, Herbert König wrote: Up to now I

Re: Re[2]: [Newbies] [Q] A really silly question

2007-05-10 Thread Mathieu Suen
Oops sorry I missunderstood of course -a is not parsed as a token but -14 it's Mth On May 10, 2007, at 8:43 PM, Herbert König wrote: I believe - a is not parsed as a token here. ___ Beginners mailing list

Re: Re[4]: [Newbies] [Q] A really silly question

2007-05-10 Thread Mathieu Suen
Yes actually I was pointing out the wrong method here is the good one but really ugly(idea is still the same): scanLitVec ... [(token == #- and: [((typeTable at: hereChar charCode ifAbsent: [#xLetter])) = #xDigit])

Re: [Newbies] RE: array literal - a misunderstanding?

2007-03-05 Thread Mathieu Suen
try this: {3.14. 2} Math On Mar 5, 2007, at 9:08 AM, Thomas Fischer wrote: {3.14 2.} {3.14 Period or right brace expected -2.} ___ Beginners mailing list Beginners@lists.squeakfoundation.org

Re: [Newbies] array literal - a misunderstanding?

2007-03-04 Thread Mathieu Suen
Is because the #(..) array is a literal build at compile time. If you want a flat array use the {} syntax. But this is specific to Squeak. You will not find it in VW for example. Rather prefer the Array class#with:with:with: Math On Mar 4, 2007, at 10:47 PM, Thomas Fischer wrote:

Re: [Newbies] What to do when package install fails?

2007-02-22 Thread Mathieu Suen
Hi, If you want seaside you can get the web dev image: http://damien.cassou.free.fr/squeak-web/ Math On Feb 22, 2007, at 3:50 AM, Blake wrote: Here's a good noob question: What should one do when a package install fails? I downloaded the squeak dev image 76 which doesn't

Re: [Newbies] What to do when package install fails?

2007-02-22 Thread Mathieu Suen
Anyway you can do wonderful things with the ChangeSet :) Math On Feb 22, 2007, at 10:56 PM, Blake wrote: Agreed on these points. This is one area Squeak could improve in, I think. ___ Beginners mailing list

Re: [Newbies] Does anyone offer a squeak training course?

2007-01-23 Thread Mathieu Suen
You know you can also learn from the image. All it's written in itself ( Someone have swipe me this answer ;) ). The best would be to learn how to read code. Learn from your tools ;). Math [EMAIL PROTECTED] wrote: I sometimes find it easier to actually go on a training course than trying

Re: [Newbies] working with dates

2006-12-12 Thread Mathieu SUEN
Have a look at #mmdd And the test: testPrinting self assert: date mmdd = '6/2/1973'; assert: date mmdd = '1973-06-02'; assert: (date printFormat: #(3 1 2 $! 2 1 1)) = '1973!2!Jun'. HTH 2006/12/12, Kel Graham [EMAIL

[Newbies] Smaller image why

2006-08-03 Thread Mathieu SUEN
Hi, I just want to know why the image is smaller from the 7048 and 7051 because only few of class have been removed. Juste by curiosity :) And an other thing is that I have reached the maximum size of the changes set file. What can I do in this situation to avoid to build a new image...

Re: [Newbies] Smaller image why

2006-08-03 Thread Mathieu SUEN
2006/8/3, Ramon Leon [EMAIL PROTECTED]: And an other thing is that I have reached the maximum size of the changes set file. What can I do in this situation to avoid to build a new image... Thanks Math World menu, do, Smalltalk condenseChanges. Ok thx but it is no more in world menu on

Re: [Newbies] Splitting strings

2006-07-26 Thread Mathieu SUEN
2006/7/26, Roel Wuyts [EMAIL PROTECTED]: Investigating the SmaCC parsers would be useful, yes, if you're not afraid to do it. I don't have time to look at it currently, so any help is appreciated :-) I think you have to write your own grammar (that is how it works with SmaCC) for parsing

Re: [Newbies] Re: implementation

2006-07-10 Thread Mathieu SUEN
Ok so It's me who don't know what is TraitsThanks,2006/7/10, Klaus D. Witzel [EMAIL PROTECTED]: Hi Math,on Sun, 09 Jul 2006 23:42:28 +0200, you wrote: Hi, I was reading code when I find several implementation of # selector.You have perhaps seen that in a recent 3.9 image? But they all have the

[Newbies] Tab navigation

2006-06-24 Thread Mathieu SUEN
Hi, Does tab control exist in squeak? Because I always use plenty of Workspace and I'm fed up with it. Thanks Math ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

[Newbies] Primitive number

2006-06-24 Thread Mathieu SUEN
Hi, I have just a litle question. Dose primitive number 0 mean there is no primitive? Math ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

[Newbies] Special constants

2006-06-24 Thread Mathieu SUEN
Hi, Why { -1. 0. 1. 2} are special constants? Thanks Math ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

Re: [Newbies] what's the existing projects to save objects?

2006-06-23 Thread Mathieu SUEN
Hi, You can have a look to the BOSS (Binary Object Streaming Service) framework in VisualWork. It's an exemple of Decorator pattern. Look at the BOSSTransporter hierarchiy. 2006/6/22, trolat.florent [EMAIL PROTECTED]: Hi all, :) I search to save an object (and the objects which possibly

Re: [Newbies] Exemple of pattern

2006-06-22 Thread Mathieu SUEN
Yes, :-) Do Roel Wuyts can do something for us? ;-) 2006/6/22, stéphane ducasse [EMAIL PROTECTED]: In fact it would be really nice to have a list of the pattern usage. Stef Il giorno mer, 21/06/2006 alle 14.07 +0200, Mathieu SUEN ha scritto: Hi, I was wondering were I can find some

Re: [Newbies] Exemple of pattern

2006-06-22 Thread Mathieu SUEN
2006/6/22, Roel Wuyts [EMAIL PROTECTED]: I can sing and dance :-) Given more time Of course! No problem. For the Adaptor thing, any wrapper class will do. There have to exist such classes in Squeak. Doing a search for classes that ends in Wrapper will probably yield some examples. Ok I

[Newbies] Exemple of pattern

2006-06-21 Thread Mathieu SUEN
Hi, I was wondering were I can find some concret exemple of Decorator pattern in squeak. And also:Adapter(I don't really understand the use of it) Abstract Factory Builder and Factory methode thanks, Math ___ Beginners mailing list