END_FNC

END_FNC

ENDS A FUNCTION

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

ACTION

The command END_FNC ends a function.

SYNTAX: END_FNC

USE

  • The command END_FNC is used to end a function.

ERROR

  • None.

EXAMPLE

dim i%

for i%=1 to 10

print double(i%)

next i%

end

fnc double(j%)

result 2*j%

end_fnc

SEE ALSO

FNC

RESULT

EXIT_FNC