I have today have FATAL ERROR issues, that did not give any means at all, when I added the same variable in a new gbas file with the same name. Then I cleaned up the Windows temp folder and then its all works again, even with fast compiling after that.
Not sure a where the conflict was, but diddent gave any means. I did something like this (but in much larger scale):
SUB One_gbas:
LOCAL A
ENDSUB
in another gbas file:
SUB Another_gbas:
LOCAL A
ENDSUB
The above DOES not allways got the error of course, so trying the above might works.
I gonna think if there is a FATAL ERROR issue, GlBasic should try to delete the whole temp folder and try again or alternative, if you recompile again after a FATAL ERROR, without user have change anything could do the same thing.
PS. Deleted its from beta, since its was more a bug or a feature request (so fell free to move it to IDE REQEST section).
What is crashing ? The IDE or your program ?
I have found that occasionally the temporary files do cause problems and can cause unexpected crashed. Perhaps the Clean Project routine to be extended to delete everything in %TEMP%/glbasic :)
The IDE does not crash or anything like that, its just output about it in some cpp files and hence never run the app.
So I was thinking its was issue with the temporary files, which its was.
The app did all compiled completly fine and ran fine after I cleaned them.
So hence not sure its a bug, but really more a feature request in the IDE.