EXIT FUNCTION

From QB64 Phoenix Edition Wiki
Revision as of 23:52, 21 April 2022 by RhoSigma (talk | contribs) (Created page with "The '''EXIT FUNCTION''' statement can be used to exit the FUNCTION before the code ends. {{PageSyntax}} :: EXIT FUNCTION * Use EXIT FUNCTION to immediately EXIT a FUNCTION if an undesirable condition is created. * EXIT FUNCTION is not the same as END FUNCTION which is required in a FUNCTION procedure. ''See also:'' * EXIT SUB * EXIT DO, EXIT FOR {{PageNavigation}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The EXIT FUNCTION statement can be used to exit the FUNCTION before the code ends.


Syntax

EXIT FUNCTION


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


See also:



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link