SyntaxBomb - Indie Coders

Languages & Coding => BlitzMax / BlitzMax NG => Topic started by: Gijsdemik on October 13, 2020, 01:26:25 PM

Title: Wierd Compiling/running bug
Post by: Gijsdemik on October 13, 2020, 01:26:25 PM
Hi all,

So i noticed something weird here.
Let me explain.
I have my code and everything is working fine it compiles and runs like expected.
I added a new line of code which i am sure its ok, i have added a drawrect ,200,50,500,300.
And boom it wont run it compiles but creases at start. so i remove that line and boom it wont run and crashes at start.
every time i add new stuff i save the bmx file and edit a newer version.
now the weird thing is. i took the older file (which was running fine) renamed it opened it, and boom it wont run.

I have encounter this before and usually i can fix it by remove "Rem / end rem" and everything in between
sometimes it helps deleting empty lines between code

I was wondering if any knows how this happens. its really annoying when i am trying to build my game
and add code of which i am certain it is good.
Title: Re: Wierd Compiling/running bug
Post by: Henri on October 13, 2020, 02:34:45 PM
Hi,

it is possible that if something goes wrong, there might be some residue left from that compile that interferes with the process. Try deleting the .bmx folder inside your app folder, and if there is some leftover temp files like ld-file then delete those too.

-Henri
SimplePortal 2.3.6 © 2008-2014, SimplePortal