From QB64 Wiki
This page is maintained for historic purposes. The keyword is not supported in QB64.
The EXIT DEF statement exits a DEF FN function early.
- EXIT DEF
- Not supported in QB64.
- Used to exit the function when a certain situation is encountered in the function.
- Cannot be used in declared FUNCTIONs.