EXIT FUNCTION - QB64 Wiki

EXIT FUNCTION

From QB64 Wiki

Jump to: navigation, search

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


Contents

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.
  • Cannot be used to exit a DEF FN function.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Personal tools