|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Need great tutorial, please |
Date: | Thu, 07 Jan 2010 19:30:34 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 01/07/2010 07:14 PM, Duke Normandin wrote:
However, neither of the above references give me the whole picture. I've yet to find anywhere*any* mention of keyboard I/O. Lot's of "mouse events" etc etc, but no elementary console input stuff.
If you can use "stdin", just use that. There is "stdin next" for example. Or you can use "stdin nextLine asInteger" for example. stdin is just like any other FileStream.
Or maybe you want to use some other keyboard I/O, for example using ncurses? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |