Goal amount for this month: 100 USD, Received: 100 USD (100%)
Donate to support this site and ThinBASIC project development
- Rep Power
how to read user input in console application
please help on how to read user input in console application
run the example C:\thinBasic\SampleScripts\Console\Console_Password.tbasic
it needs a password try: ciao for correct answer.
it uses Console_InKeyB, you can use also Console_InKey
tip: position the cursor over Console_InKeyB in the IDE then press F1 this will open the help for Console_InKeyB and on the left you can see all the keywords for Console_...
PS: for Console_Read() try this
Dim InChars As String
PrintL "enter any string than type <ENTER>"
InChars = Console_Read()
Last edited by zak; 08-04-2012 at 09:07.
By Eggman in forum Do you know ...
Last Post: 17-10-2010, 18:03
By martin in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
Last Post: 05-09-2009, 19:50
By Michael Hartlef in forum thinBasic General
Last Post: 18-05-2009, 08:47
By Henry in forum thinBasic General
Last Post: 10-09-2007, 16:00
Tags for this Thread