Forum
Run Time error in Footy code. - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: Run Time error in Footy code. (/showthread.php?tid=334)



Run Time error in Footy code. - britlion - 03-19-2011

1.2.8-s644 Still isn't running correctly.

My half build football manager program gives an out of memory error at some early string handling. Goes right past that if compiled with 1.26.

I tried to attach a file, here, but couldn't.

With 1.2.8-s644 this breaks at line 438, just after the print 2. With 1.26 it works (it breaks later. Haven't investigated that).

Always compiled with --debug-array --debug-memory (not with O3).


Re: Run Time error in Footy code. - boriel - 03-20-2011

This is a very *nasty* hidden bug that was affecting normal string usage. Please download and test. Also, this bug might be silently affecting other BASIC programs apparently running ok :!: Please, everybody download the new version 1.2.8s655.

Try this and tell me. BTW, the file uploading is now fixed and reenabled. :wink:
Note: after re-running your program I got a subscript out of range error. But don't know whether this is related to your code or the compiler one. :?:


Re: Run Time error in Footy code. - LTee - 03-20-2011

Reran all my usual tests without any noticeable issues, boriel. :-)


Re: Run Time error in Footy code. - britlion - 03-20-2011

It certainly seems happier. There's that error later I need to track down, mind Smile

But yes, I can throw strings around again! Yay!


Re: Run Time error in Footy code. - boriel - 03-20-2011

Fixed type is bugged (not ported to the new stack-scheme). I expect it to be finished in a while (will upload it tonight).


Re: Run Time error in Footy code. - boriel - 03-20-2011

Update: well, I've uploaded rev. 1.2.8s679 Available at the Download Page (as usual).