1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/EXIT-FUNCTION.md
2022-12-24 19:12:43 -06:00

411 B

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