very very weird blitz3d bug...

Blitz3D Forums/Blitz3D Programming/very very weird blitz3d bug...

Errors can show up on End Function if you forget an EndIf, Next, Wend, Until etc.

Putting debug mode on is not going to help you find the problem. Its a case of going through your function and finding it yourself. That shouldn't be too difficult if your code is properly indented.