EXIT_FNC

EXIT_FNC

QUITS A FUNCTION WITHOUT EXECUTING END_FNC

  • Type: Command
  • Parameter: 0
  • Group: Structures

ACTION

The command EXIT_FNC quits a function whithout executing END_FNC

SYNTAX: EXIT_FNC

USE

  • The command EXIT_FNC is used to quit a fonction without executing END_FNC.

ERROR

  • None.

EXAMPLE

dim i%

for i%=1 to 10

print double(i%)

next i%

end

fnc double(j%)

if j%>5 then result 0:exit_fnc

result 2*j%

end_fnc

SEE ALSO

FNC

END_FNC

RESULT