November 27, 2020, 05:14:05 PM

Author Topic: Wierd Compiling/running bug  (Read 128 times)

Offline Gijsdemik

  • Jr. Member
  • **
  • Posts: 10
Wierd Compiling/running bug
« 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.

Offline Henri

  • Sr. Member
  • ****
  • Posts: 265
Re: Wierd Compiling/running bug
« Reply #1 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
- Got 01100011 problems, but the bit ain't 00000001

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal