|
Post by Daniel Eriksson on Sept 27, 2005 14:42:47 GMT -5
My program compiled correctly and a moment later it did not. I don't know what I changed so I can't change it back. Here is the error I get : www.freewebtown.com/Imerion/error.jpgPerhaps someone can pinpoint where I should look in my code. Is it a missing "Next" or what can it be? Any help is appreciated!
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Sept 28, 2005 21:31:33 GMT -5
this is a really rare error
there is nothing wrong with your code. it's saying that the branch offset is out of range when branching to __WHILE_JUMP_4, meaning that the code in between your 5th while...wend loop is waaaay too long for the assembler to process. try to shorten the code in between the loop, or use a combination of if...then and a goto statement to make it act like a while loop
PS: also try using v0.26 beta of the compiler IDE, maybe it can optimize your code and shorten the number of instructions
|
|
|
Post by Daniel Eriksson on Sept 29, 2005 8:22:30 GMT -5
Now that is interesting! Ill try to shorten the code, should not be a big problem. Won't be as structured though. Anyway, thanks for telling me. I kept looking through my code but found nothing wrong...
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Oct 9, 2005 20:34:03 GMT -5
i'll try to make a fix for this in the next release. maybe i can optimize all jumps by converting them into branches, and fixing branches that cannot reach their destination into jumps with just a macro =P
|
|