qbasic.hlp (Topic list)
CASE without SELECT
The SELECT CASE keywords starting a SELECT CASE statement
are missing or misspelled.
 
Also check other structures within the SELECT...END SELECT
structure and verify that they are correctly matched. For
example, an IF block without a matching END IF inside the
SELECT...END SELECT structure generates this error.