Futurebasic/Language/Reference/exit fn

= EXIT FN statement =

Statement
✔ Appearance ✔ Standard ✔ Console

Description
When used inside a  function, this statement causes the program to jump immediately to the   statement. The function then exits, passing back the value (if any) specified in the  statement. This is useful when, for example, you wish to break out of a loop and quit the function immediately;  is a safer way to do this than using something like.

Note: You should not use the  statement outside of a   function.