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 FOR statement allows a condition other than the counter value to exit a FOR…NEXT loop.

Syntax

EXIT FOR…NEXT

See Also