If you are indeed looking for command line input, you could also do it this way:
You would need to provide some exception handling to go with this too, enclose your code in a try.......catch block.
Event handling which you mention is usually used to get input from a GUI (e.g. a user clicks a button), whereas this kind of system prompt input is not event driven (maybe it can be?)
Hope that's helpful
[ June 03, 2006: Message edited by: Ellie Barnes ]