Shooter

Blitz3D Forums/Blitz3D Programming/Shooter

Yes, but on which line? Take note of which line the cursor is on when you receive that alarm. That will tell you which variable is the culprit.

A 'Variable Type Mismatch' is caused by something such as the following:
a# = 3

;later on...
a$ = "hello"

a$ can't exist because a has already been declared as a float (a#)


By the way, I see that you are closing your opened files after the program ends. It's probably best to close them as soon as you are done using them.