Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Huge array of variable length strings
#10
I think it is the c$ assignment where memory gets corrupted:

Code: (Select All)
c$ = Space$(2000000000)
Print Using "##,###,###,###"; Len(c$)
Sleep

c$ = Space$(2000000000)
Print Using "##,###,###,###"; Len(c$)
Sleep

Second assignment aborts program...
It seems when going above 1GB it sooner or later aborts
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
RE: Huge array of variable length strings - by mdijkens - 10-17-2024, 02:01 PM



Users browsing this thread: 1 Guest(s)