Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen corruption & possible crash (*solved*)
#6
Ok, back into this UltraNasty bug. It seems to be related to the STR$() function (which is already buggy in the Spectrum ROM, by the way).
I've investigated a bit further, and this code also crashes the same way, and it's much simpler:
Code:
DIM i as Uinteger
DIM j as Uinteger = 0
Dim s as String

Function str0 as String
   s = ""
   s = str(j)
   return s
End Function

for i = 0 to 1000
    print str0()
next

Removing s = "" makes the program to take longer to crash. I guess this is related to the str( ) function. But need more work :?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)