QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

HomeNewsGitHubWikiSamplesInFormGXQBjsCommunityMore…

SAMPLE: KBDPARSE

screenshot.png

Author

🐝 William W. Sindel

Description

'***************************************************************************
'*
'*  Keyboard input parsing routine
'*
'*  The idea here was to create a program that will capture input from the
'*  keyboard and convert it into a list of words as individual strings as
'*  the user enters text from the keyboard. Exit from the program occurs
'*  when a carraige return is encountered.
'*
'*  Using the backspace key will back up thru the text that was entered, but
'*  for some reason it takes three key presses of backspace to go past a word
'*  boundry.  The function works so I didn't worry about it.
'* 
'* 
'* 
'* Placed in the public domain by
'* William W. Sindel
'* April 6, 2005
'* Version 1.0
'*
'***************************************************************************

QBjs

Please note that QBjs is still in early development and support for these examples is extremely experimental (meaning will most likely not work). With that out of the way, give it a try!

File(s)

🔗 utility, legacy