@Shifty: That isn't possible I'm afraid, to detect the error at compile time would require modifications to the Blitz3D compiler, which I can't do for obvious reasons ;)
You could write a simple code parser which could detect it though.
You could write a simple code parser which could detect it though.
Oh well. Currently I use a basic neural net based code parser. It's a bit slow at learning but it gets there in the end. I'll try and feed it more data on detecting these sorts of problems and hopefully avoid them altogether at the coding stage...