EXIT SUB
From QB64 Wiki
Jump to navigation
Jump to search
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
Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Permanent link
Page information