1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/EXIT-SUB.md
2022-12-24 19:12:43 -06:00

334 B

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

Syntax

EXIT SUB

  • Use EXIT SUB to immediately EXIT a SUB if an undesired condition is created.
  • EXIT SUB is not the same as END SUB which is required in a SUB procedure.

See Also