QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.
The END SELECT statement ends a SELECT CASE statement block.
Syntax
END SELECT
The statement is required to end a SELECT CASE block or there will be an ERROR Codes.