Wierd Compiling/running bug

Started by Gijsdemik, October 13, 2020, 13:26:25

Previous topic - Next topic

Gijsdemik

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.

Henri

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
- Got 01100011 problems, but the bit ain't 00000001