This website requires JavaScript.
Explore
Help
Sign In
QB64
/
QB64-website
Watch
1
Star
1
Fork
You've already forked QB64-website
0
mirror of
https://github.com/DualBrain/QB64.git
synced
2023-11-19 13:10:13 +00:00
Code
Issues
Releases
Wiki
Activity
main
QB64-website
/
wiki
/
EXIT-SUB.md
Cory Smith
ca88ba2965
More wiki experiment.
2022-12-24 19:12:43 -06:00
334 B
Raw
Permalink
Blame
History
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
SUB
FUNCTION