Endif Expected ?

Blitz3D Forums/Blitz3D Beginners Area/Endif Expected ?

Okay rims, I got it to work using your copy, what was wrong with it ? I had the same type error on another program I coded, is why I made this small example to find out what is wrong. Was it the included file ? Because it was including the function before the type was declared ?

I added the nSprite.bb include file at the top of the code, and commented your placeholder functions, and it still worked. So with that function in a seperate file, why won't it compile ?