What does a FUNCTION do?

Blitz3D Forums/Blitz3D Beginners Area/What does a FUNCTION do?

In order to assist you fully, you may need to post some sample code, it doesn't necessarily need to be the entire thing, but at least the line the error occurs on and perhaps a few lines above and below.