FUNCTION fun()

[<<<] [>>>]

This command should be used to define a function. A function is a piece of code that can be called by the BASIC program from the main part or from a function or subroutine.

FUNCTION fun(a,b,c)
...
fun = returnvalue
...
END FUNCTION

The end of the function is defined by the line containing the keywords END FUNCTION.


[<<<] [>>>]