Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game is crashing due to out of memory (48k) (*solved*)
#4
Hi
I don't believe the issue is to do with arrays at 0 but the fact I am using a variable to reference index 0.
The below example shows starting at 1 produces the same "out of memory" 

see below :- 


DIM MSG1 as UBYTE = 1
DIM MSG2 as UBYTE = 2
DIM MSG3 as UBYTE = 3
DIM A$(10)
A$(MSG1) = "Msg 1 on page 1"
A$(MSG2) = "Msg 2 on page 1"
A$(MSG3) = "Msg 2 on page 1"


print A$(1)
print A$(2)
print A$(3)

Thanks
Reply


Messages In This Thread
RE: Game is crashing due to out of memory (48k) - by RandomiserUsr - 04-27-2021, 05:36 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)