EXIT CASE

From QB64 Phoenix Edition Wiki
Revision as of 14:21, 17 March 2023 by RhoSigma (talk | contribs) (Created page with "The '''EXIT CASE''' statement does exit from a '''CASE''' in a '''SELECT CASE''' block. {{PageSyntax}} : EXIT CASE {{PageDescription}} * Use '''EXIT CASE''' to immediately exit from a '''CASE'''. * In SELECT EVERYCASE blocks execution will proceed with the next matching '''CASE'''. * In regular SELECT CASE blocks execution will proceed after END SELECT, i.e. '''EXIT CASE''' and EXIT SELECT behave the same way here. {{PageSeeAlso}} *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The EXIT CASE statement does exit from a CASE in a SELECT CASE block.


Syntax

EXIT CASE


Description

  • Use EXIT CASE to immediately exit from a CASE.
  • In SELECT EVERYCASE blocks execution will proceed with the next matching CASE.
  • In regular SELECT CASE blocks execution will proceed after END SELECT, i.e. EXIT CASE and EXIT SELECT behave the same way here.


See also



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