September 27, 2021, 08:20:45

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

Offline Gijsdemik

  • Jr. Member
  • **
  • Posts: 12
Wierd Compiling/running bug
« on: October 13, 2020, 13:26:25 »
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: 353
Re: Wierd Compiling/running bug
« Reply #1 on: October 13, 2020, 14:34:45 »

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.

- Got 01100011 problems, but the bit ain't 00000001


SimplePortal 2.3.6 © 2008-2014, SimplePortal