there is no such thing as "NULL" in QBasic...so you must assign a value(for
instance, -1) as NULL)
so if you want the keyboard to gain the input and respond accordingly:
INPUT "Enter a string here:"; String$ ' waits for the user to write
something
SELECT CASE String$ ' what did they enter?
CASE "a": ' do something blah blah
CASE "b": ' do something else
CASE "": ' this is the value if the user just hits <enter>
CASE ELSE: ' if the user entered something other than those things.
END SELECT