Re: [Newbies] How can I create a script from within a script?

2011-02-28 Thread Alex Schenkman
Take a look at: http://rmod.lille.inria.fr/botsinc On Monday, February 28, 2011 at 6:05 PM, Gary Dunn wrote: The direct answer is thay it depends on how you design tour interpreter. In Squeak we fiddle in a Workspace but that is not an interpreter. We invoke the interpreter with do it or

Re: [Newbies] how do i initialize class variables?

2010-05-13 Thread Alex Schenkman
Look at this thread: http://forum.world.st/Howto-initialize-class-variables-td1667813.html#a1667813 On Wed, May 12, 2010 at 14:04, Avi Cohen avicohe...@hotmail.com wrote: hello, can i initialize them like regulat object variable? if i do, doesn't it initalize the class variable at every

[Newbies] Howto initialize class variables

2010-03-20 Thread Alex Schenkman
Hi List! I'm playing with class variables. How should I initialize them? I've tried with the class method initialize but it does not do the job. Pirulo classinitialize super initialize. myClassVar := Dictionary new at: 'one' put: 1. Thanks in advance!

Re: [Newbies] Howto initialize class variables

2010-03-20 Thread Alex Schenkman
Bert your are super! * never call super initialize on the class side Why? I thought it was polite to do it, =) On Sat, Mar 20, 2010 at 10:10, Bert Freudenberg b...@freudenbergs.dewrote: On 20.03.2010, at 09:46, Alex Schenkman wrote: Hi List! I'm playing with class variables. How should

Re: [Newbies] Need help for project

2010-02-07 Thread Alex Schenkman
Just in case you have missed this one... * * *Squeak by Examplehttp://www.google.com/url?sa=Dq=http%3A%2F%2Fsqueakbyexample.org%2Fusg=AFQjCNGEwgMvy5c8n40G28j5UTcEoFm0Kg * *Squeak by Example*, intended for both students and developers, will guide you gently through the Squeak language and

Re: [Newbies] System Browser: instance vs. class

2010-01-31 Thread Alex Schenkman
On Mon, Feb 1, 2010 at 01:22, lanas la...@securenet.net wrote: CarAssembler classusing: aCarFactory ^self new factory: aCarFactory I think this a pattern for instance creation. The point is that you can clearly see what it takes to create a instance of CarAssembler, namely, a CarFactory.

Re: [Newbies] Expected menu items not there

2009-12-15 Thread Alex Schenkman
I'm sorry Tim, but I don't understand your question. Could you rephrase it please? On Tue, Dec 15, 2009 at 16:35, Tim Rowe digi...@gmail.com wrote: 2009/12/10 prwnkl prw...@comcast.net: Tim, I have been at Squeak for only a couple of weeks but if you have a Mac with a one button mouse

Re: [Newbies] Speed

2009-11-11 Thread Alex Schenkman
I am not absolutely sure, but I think CUIS translates methods into native code instead of bytecodes. Don't take my word for this, please. Let someone else confirm it. It is something I heard some time ago. On Wed, Nov 11, 2009 at 11:38, John Worden worden.j...@gmail.com wrote: Absolute beginner

Re: [Newbies] Speed

2009-11-11 Thread Alex Schenkman
I am not absolutely sure, but I think CUIS translates methods to native code, instead of bytecodes, thus executing faster. On Wed, Nov 11, 2009 at 11:38, John Worden worden.j...@gmail.com wrote: Absolute beginner playing with smalltalk. I have a simple program that opens a number of text

Re: [Newbies] OrderedCollection if imageMorphs

2009-11-08 Thread Alex Schenkman
I think you might need to call SymbolArrayintialize by your self. If you look at the chain of message sends starting from 'SymbolArray new' 1) OrderedCollection new 2) OrderedCollection new: 3) Behavior basicNew There is no call to initialize. On Sat, Nov 7, 2009 at 16:28, Christine Wolfe

Re: [Newbies] OrderedCollection if imageMorphs

2009-11-08 Thread Alex Schenkman
On Sun, Nov 8, 2009 at 14:28, Christine Wolfe cwd...@earthlink.net wrote: I’m so confused though. I’ve never had to explicitly call an initialize method before – they seem to be invoked automatically when I use the word “new”. Should I always call the initialize when I create a new instance?

Re: [Newbies] isStepping question

2009-11-07 Thread Alex Schenkman
Bert: Is Croquet the only way to use Tweak nowadays? Is is possible to load Tweak into Squeak or Pharo? Thanks in advcance! On Sat, Nov 7, 2009 at 14:30, Bert Freudenberg b...@freudenbergs.de wrote: Not possible in Morphic (that is one of the major advantages of Tweak).

Re: [Newbies] hello

2009-10-30 Thread Alex Schenkman
Squeak by example http://squeakbyexample.org/ or Pharo by examplehttp://pharobyexample.org/, both by Ducasse, are great books. On Fri, Oct 30, 2009 at 15:27, Alan Turing aabbcb...@gmail.com wrote: Hi, I am new in smalltalk and squeak. In this language what is the right way to learn

[Newbies] Closure support

2009-10-28 Thread Alex Schenkman
Hello list: I've seen some messages talking about incorporating closure support into Squeak/Pharo. What does this mean? A closure is a block, right? And Squeak has already blocks... Thanks in advance! ___ Beginners mailing list