Skip to content
Cory Smith edited this page Sep 2, 2022 · 4 revisions

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

Clone this wiki locally