Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12318

Re: Waiting for keypress in a console - I've got problems.

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Waiting for keypress in a console - I've got problems.
Date 2020-12-29 08:28 +0100
Organization Aioe.org NNTP Server
Message-ID <rselrk$1mc6$2@gioia.aioe.org> (permalink)
References <rscnqt$346$1@gioia.aioe.org> <XnsACA1AFCE66BAeejj99@194.109.6.166> <rsd40g$duc$1@gioia.aioe.org> <XnsACA239A93C13eejj99@194.109.6.166>

Show all headers | View raw


Evertjan,

> Methinks the budder is only filled with a complete
> line, not with a character.

That part I understand.

But if nothing has been put into the buffer yet, why than does that "Do 
While Not WScript.StdIn.AtEndOfLine" loop (and thus wait) ?

The only thing I can think of is that the AtEndOfLine checks, in case of the 
keyboard, for a CR.   Yet, adding another "WScript.StdIn.Read(1)" below the 
loop to get rid of that EOL char doesn't help.

Regards,
Rudy Wieser

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Waiting for keypress in a console - I've got problems. "R.Wieser" <address@not.available> - 2020-12-28 14:50 +0100
  Re: Waiting for keypress in a console - I've got problems. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-12-28 17:16 +0100
    Re: Waiting for keypress in a console - I've got problems. "R.Wieser" <address@not.available> - 2020-12-28 18:18 +0100
      Re: Waiting for keypress in a console - I've got problems. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-12-29 00:21 +0100
        Re: Waiting for keypress in a console - I've got problems. "R.Wieser" <address@not.available> - 2020-12-29 08:28 +0100
          Re: Waiting for keypress in a console - I've got problems. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-12-29 13:26 +0100
            Re: Waiting for keypress in a console - I've got problems. "R.Wieser" <address@not.available> - 2020-12-29 14:46 +0100
  Re: Waiting for keypress in a console - I've got problems. JJ <jj4public@gmail.com> - 2020-12-29 11:44 +0700
    Re: Waiting for keypress in a console - I've got problems. "R.Wieser" <address@not.available> - 2020-12-29 08:26 +0100

csiph-web