[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
userpage » WhatLinksHere » DOSGfx » BeginnersGuideToVB » thunks » ASPNET » Memory » CSharpDefault » The GPRMC Sentence » QbasicFAQ_OtherCompilers » QbasicFAQ_Input
Displaying differences between revision 1 and the latest revision
[font=arial][size=2][b]How do I use INPUT$[/b][/size][/font][br]
Back to QBasic FAQ Main Page.¶
Although used primarily for reading a specific number of characters from a [[device]], (like a [[file]]), INPUT$ can also be used for getting a key press or several key presses.
[code]
A$ = INPUT$(1)[/code]
The above resume after one key press, and the [[buffer]] will hold that key code.
[italic]Remember that INPUT$ will resume execution after the number of designated keys have been pressed. - No enter key is necessary. ¶
[/italic]
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
userpage » WhatLinksHere » DOSGfx » BeginnersGuideToVB » thunks » ASPNET » Memory » CSharpDefault » The GPRMC Sentence » QbasicFAQ_OtherCompilers » QbasicFAQ_Input
Displaying differences between revision 1 and the latest revision
[font=arial][size=2][b]How do I use INPUT$[/b][/size][/font][br]
Back to QBasic FAQ Main Page.¶
Although used primarily for reading a specific number of characters from a [[device]], (like a [[file]]), INPUT$ can also be used for getting a key press or several key presses.
[code]
A$ = INPUT$(1)[/code]
The above resume after one key press, and the [[buffer]] will hold that key code.
[italic]Remember that INPUT$ will resume execution after the number of designated keys have been pressed. - No enter key is necessary.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
