« Return to Thread: I am a total beginner with some questions

Re: I am a total beginner with some questions

by kennellgr :: Rate this Message:

Reply to Author | View in Thread

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@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

 « Return to Thread: I am a total beginner with some questions