realbasic-nug
[Top] [All Lists]

Resetting stdin

To: REALbasic-NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Resetting stdin
From: Kem Tekinay <ktekinay at mactechnologies dot com>
Date: Tue, 28 Nov 2006 23:28:18 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AccTbss2CZBawn9iEduw2gANkyy31A==
Thread-topic: Resetting stdin
My console app reads a bunch of text from stdin until stdin.EOF is true. It
then does some processing before it needs to prompt the user for more stuff.
The problem is, stdin.ReadLine no longer seems to do anything, returning a
blank string without pausing. Is there a way to "reset" stdin so it will
accept more text? Or is there another way to prompt the user to enter text?

__________________________________________________________________________
Kem Tekinay                                                 (212) 201-1465
MacTechnologies Consulting                              Fax (914) 242-7294
http://www.mactechnologies.com                        Pager (917) 491-5546

  To join the MacTechnologies Consulting mailing list, send an e-mail to:
           mactechnologies_consulting-subscribe at yahoogroups dot com








_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>