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


Description

  • 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



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page