Hi, I'm a newcomer in Pharo and start to learn how to use Pharo. In page 42 of UPBE(Vesion:2015-10-17 ), I don't know where I write the constant methods and UPBE didn't tell me in which pane to type them. |
Dear Andy,
welcome here ! Normally you have to write your code on the bottom pane of the code browser. Regards, On Mon, Oct 19, 2015 at 5:49 PM, 小橙橙 <[hidden email]> wrote: > Hi, > > I'm a newcomer in Pharo and start to learn how to use Pharo. > In page 42 of UPBE(Vesion:2015-10-17 ), I don't know where I write the > constant methods and UPBE didn't tell me in which pane to type them. > Could you tell me ? > > Andy Zhu -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/ |
But I don't find the pane on which I should write code. Did you know it?
On Monday, October 19, 2015, Serge Stinckwich <[hidden email]> wrote: Dear Andy, |
Hi Andy, on the page before, you see the Figure 3.14, the bottom panel is the code panel.If you select class LOGame in the second left pane, and for example "-- all --" in the category panel, every code you put in the code panel, becomes a method of your class "LOGame".2015-10-19 19:31 GMT+02:00 小橙橙 <[hidden email]>: But I don't find the pane on which I should write code. Did you know it? |
In reply to this post by 小橙橙
Have a look to this tutorial here:
https://www.youtube.com/watch?v=gSmlsarDMEQ On Mon, Oct 19, 2015 at 7:31 PM, 小橙橙 <[hidden email]> wrote: > But I don't find the pane on which I should write code. Did you know it? > > > On Monday, October 19, 2015, Serge Stinckwich <[hidden email]> > wrote: >> >> Dear Andy, >> >> welcome here ! >> >> Normally you have to write your code on the bottom pane of the code >> browser. >> >> Regards, >> >> On Mon, Oct 19, 2015 at 5:49 PM, 小橙橙 <[hidden email]> wrote: >> > Hi, >> > >> > I'm a newcomer in Pharo and start to learn how to use Pharo. >> > In page 42 of UPBE(Vesion:2015-10-17 ), I don't know where I write >> > the >> > constant methods and UPBE didn't tell me in which pane to type them. >> > Could you tell me ? >> > >> > Andy Zhu >> >> >> >> -- >> Serge Stinckwich >> UCBN & UMI UMMISCO 209 (IRD/UPMC) >> Every DSL ends up being Smalltalk >> http://www.doesnotunderstand.org/ >> > -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/ |
In reply to this post by 小橙橙
have your read the Pharo Tour chapter ? please read the entire book from start to finish , DO NOT skip chapters this is a complete tutorial on Pharo that depends on previous chapters for continuation of knowledge. If you dont understand previous chapters you wont understand this. Your question is explained at Page 16, chapter: A quick tour of Pharo On Mon, Oct 19, 2015 at 6:50 PM 小橙橙 <[hidden email]> wrote:
|
You mean that I should type them in the pane of the method I want to define, am I right? then, which one should I type "LOGame>>cellsPerSide" or "cellsPerSide"?Maybe
this syntax --">>" just indicates that this method should belong
to this class. but as reader, I don't need to type all, do I ? My
English is poor and When I reader it a little faster, I will be
confused. Next time , if I encounter some sentences I don't understand, I
will read other sentences around them again. 2015-10-20 2:02 GMT+08:00 Dimitris Chloupis <[hidden email]>:
|
Let me make this clear, I dont believe in stupid questions. Your first language , like me, is not English and so you have harder time to understand documentation. Coding nowdays is as much about learning English than is about learning how to code since its by far the most popular language that coders around the world use to communicate. So take it step by step and you will be fine. The above command creates an instance object using the class object as a blueprint. On Tue, Oct 20, 2015 at 7:21 AM 小橙橙 <[hidden email]> wrote:
|
In reply to this post by 小橙橙
please take 5 min and watch this video:
http://sdmeta.gforge.inria.fr/StarterKitCache/Exercises/Exercises-Counter/ stef Le 19/10/15 17:49, 小橙橙 a écrit : > Hi, > > I'm a newcomer in Pharo and start to learn how to use Pharo. > In page 42 of UPBE(Vesion:2015-10-17 ), I don't know where I write > the constant methods and UPBE didn't tell me in which pane to type them. > Could you tell me ? > > Andy Zhu |
Free forum by Nabble | Edit this page |