Qbasicnews.com

Full Version: Fatal error with goto statement. (Error checking?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Using latest release FBIDE.

Try a goto statement with no line numbers or labels. FBIDE crashes.

BTW Those line numbers in the left coloum are not valid for goto statements? :|

PSET is slow as hell too. QB was faster.

>anarky
Give us some code.
Hmmm... I just got an error on the goto thing. FBIDE didn't crash on me. :???:

The line numbers on the left are basically for us humans. FB code doesn't even know they're there. Wink

Everything about FB is faster than QB. You must be doing something wrong. You might be updating the screen too often... Uhhh... Also, what Z!re said. Got code?
[Image: screenieme.jpg]

See? Press F5. Now in QB you get an error saying "label not defined". FB just crashes. Don't ask me why I tested this. Just curious. Helping, I guess.

>anarky
I had the same problem but only because I forgot to include a separate line no . As you say it is preferable NOT to totally crash if it does that you have no clue what damage it may have done .
Ray.
Compiling with 0.14 i get an error: undefined label, so it seems to be fixed.
Another point of interest I wish to point out. it's not a FreeBasic flaw. Yes, that was the 0.13 version. I was updating Windows at the time, and when it wanted a reboot, it actually died. I had to reformat to get online again.

Taking the fact that XP had been playing up a little prior to this, I just tested it again.

The error said: undefined label.

Meh. Never mind, it's just me again.

>anarky
heh sry, but I'm tired of saying same old thing.

the goto to undefined label crashes the compiler, not FBIde, BUT since fbide waits for compielr while compiling, if one crashes -so will thne other (window will close it)
Regardless of what crashed, I cannot recreate the error I had originally. Obviously, I had some problems with Windows which I had no choice to "uncreate" by restoring my HD. As it turns out, when I did exactly the above, I had no crashes in the IDE.

*shrugs*

End of topic.

>anarky
anarky's taskbar rules. It looks... almost exactly like mine.
Pages: 1 2