Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / 7.7b3 - Random Crash

Author
Message
Pixel Paint
16
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 5th Feb 2011 06:18
Every time you hit space, this code should display:

In loop, entering function - pass 1
In function
In loop, entering function - pass 2
In function
In loop, entering function - pass 3
In function

...and so on, but it crashes on pass 2...



I've cut out most of my code up to this little piece and it still crashes.

The program will make it through pass 1 successfully. But on pass 2, it enters the function and displays an error message. I'm not sure whether this is only happening to me or what, but it's definitely not a coding error.
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 5th Feb 2011 12:39 Edited at: 5th Feb 2011 12:40
It's because you're returning a constant string. Try it like this:


It's definitely a bug, but one that's been around so long it seems unlikely to be fixed

[b]
Pixel Paint
16
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 5th Feb 2011 17:37
OK, thanks. But I still don't understand why it works the first time through and not the second.

Login to post a reply

Server time is: 2024-04-23 07:03:21
Your offset time is: 2024-04-23 07:03:21