"expecting end-of-file" error causes ?
Blitz3D Forums/Blitz3D Beginners Area/"expecting end-of-file" error causes ?
| ||
Hello, :) When i try to build and run my code, i get an "expecting end-of-file" error Normally i manage to find the error in my code but this time, even after several rereadings, i still don't find the error... And the line it directs to seems correct... I know that this error can be caused by a missing/incorrect symbol or by a missing parameter in a function. What else can cause this error ? Thanks, |
| ||
Look for an unclosed stuff -> If-EndIf -> For-Next -> While-Wend -> Repeat-Forever/Until if one is missing then the compiler will reach the end of file thinking there is something missing. |
| ||
Thanks, but it does not seem to be that... If you have others suggestions... |
| ||
found it, (idiot issue) i had a global reference to store a mesh global Thing_Mesh = createmesh() and then i added a dim array to store several meshes global ThingsCount% dim Thing_Mesh(10) but like an idiot i modified the code like this : global Thing_Mesh(I) = createmesh() ... |
| ||
Curious, it should have generated a "syntax error" |