Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DIM a$(100,10) possible bug?

I have been developing a game and one of thing things I wanted to is build up a string and print it out but the issue I have is that I can't do the following code in zxbc :-

DIM a$(100,10)
LET a$(1) = "Line 1"
PRINT a$(1)

But I can do the above in a ZX Spectrum emulator.

I know the solution is to use a$(1,1) (Ignore the zero array start)

PS Brilliant compiler!! 


Messages In This Thread
DIM a$(100,10) possible bug? - by RandomiserUsr - 02-26-2021, 08:03 PM
RE: DIM a$(100,10) possible bug? - by boriel - 02-28-2021, 05:19 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)