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.

The EXIT SUB statement can be used in a SUB routine to exit before the code ends.

Syntax

EXIT SUB

See Also