7 No FN

If BBC BASIC (Z80) encounters an end-of-function without calling a function definition, this error message will be issued. If you forget to put multi-line function definitions out of harm's way at the end of the program you are very likely to get this error message. (See the section on Procedures and Functions).

10 DEF FN_error()
20 =7