posted 19 years ago
Can you describe the problem in more detail? What kind of input are you expecting? Is it typed by a human user?
ReadLine is of course going to get you one line. For multi-line input you'd just call it repeatedly. I'm guessing you'd have trouble knowing when one group of lines is done and it's time to process them? Maybe make the user type a "fence" to indicate the end, eg a blank line or a special character.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi