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


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

Re: hide user input in vb

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: hide user input in vb
Date 2018-06-08 10:20 +0200
Organization Aioe.org NNTP Server
Message-ID <pfde8o$1ij$1@gioia.aioe.org> (permalink)
References <24696fad-a3f0-492f-aeb4-f0688cd0deab@googlegroups.com>

Show all headers | View raw


lysaali,

> i'm having trouble in finding ways to hide user inputs so that player2 has 
> to actually guess the number

You could print a number of blank lines (in a "for" loop) after player #1 
has input the number, so it will be pushed down and off the screen.

... that is, if "Console.Clear" doesn't work for you (I have no idea which 
version of Visual Basic you're running.  The beforementioned "Clear" seems 
to work for the .NET version)

Regards,
Rudy Wieser

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


Thread

hide user input in vb lysaali50@gmail.com - 2018-06-07 13:53 -0700
  Re: hide user input in vb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-06-07 23:07 +0200
  Re: hide user input in vb "Mayayana" <mayayana@invalid.nospam> - 2018-06-07 17:52 -0400
  Re: hide user input in vb JJ <jj4public@vfemail.net> - 2018-06-08 13:06 +0700
  Re: hide user input in vb "R.Wieser" <address@not.available> - 2018-06-08 10:20 +0200
    Re: hide user input in vb "R.Wieser" <address@not.available> - 2018-06-08 21:49 +0200

csiph-web