ok; now that i have gotten PowerBasic 6.0 and eagerly awaite to upgrade my programming skills to that of PB 6.0. I now find that I cannot do the
simplist thing within this Basic. So I ordered the book, thinking that will help. But; to my surprise, everything it listed is for input is dealing with files and all I want to get is some user input.
in the old style basic this was done by typing the following :
10 INPUT A$:REM Get user input from keyboard
20 PRINT A$
--------
but to my horror, this does not seem to be the correct way in this new
Basic.
Can some one help me with this.
Pluss is there a way to get a single key stroke,
like the following in basic
10 A$=INKEY$:IF A$>"" THEN 20 ELSE 10:REM Get a single keystroke
20 PRINT A$
thankyou
Daniel
simplist thing within this Basic. So I ordered the book, thinking that will help. But; to my surprise, everything it listed is for input is dealing with files and all I want to get is some user input.
in the old style basic this was done by typing the following :
10 INPUT A$:REM Get user input from keyboard
20 PRINT A$
--------
but to my horror, this does not seem to be the correct way in this new
Basic.
Can some one help me with this.
Pluss is there a way to get a single key stroke,
like the following in basic
10 A$=INKEY$:IF A$>"" THEN 20 ELSE 10:REM Get a single keystroke
20 PRINT A$
thankyou
Daniel
Comment