logo       

Re: I am a total beginner with some questions: msg#00120

lang.smalltalk.squeak.beginners

Subject: Re: I am a total beginner with some questions


Michael,

I see what you mean about simplifying it - I'll do that. You said that this
method is a message and needs to be sent to an object - which I understand -
but now my question is which object? what object do I need to send
gdkDKeyDown to in order for this to return true or false? By the way, I did
read Squeak By Example.


Michael Haupt-3 wrote:
>
> In summary, your method could as well be as short as this:
>
> gdkDKeyDown
> ^Sensor keyboardPeek asciiValue = 99
>
> Nice, eh? And we haven't even started to abstract away from the D yet. ;-)
>
> Best,
>
> Michael
> _______________________________________________
> Beginners mailing list
> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
>

--
View this message in context:
http://www.nabble.com/I-am-a-total-beginner-with-some-questions-tp16540965p16712829.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise