I have an older program that used to run fine but now exits unexpectedly in 3.6.0 without any message.
Below a snippet of what I pinned down the error to: (r$ = Mid$(arr$(i&), 80, 20) in processArr&)
I expect it to be some kind of memory error.
(and Yes I know this is an array of 1.5GB, but it used to work up to 2GB)
Below a snippet of what I pinned down the error to: (r$ = Mid$(arr$(i&), 80, 20) in processArr&)
Code: (Select All)
Const RECS = 10000000
Dim Shared arr$(RECS)
Print fillArr
Print processArr
Function fillArr&
For i& = 0 To RECS
arr$(i&) = Space$(150)
Next i&
fillArr& = i&
End Function
Function processArr&
For i& = 0 To RECS
r$ = Mid$(arr$(i&), 80, 20)
Next i&
processArr& = i&
End Function
I expect it to be some kind of memory error.
(and Yes I know this is an array of 1.5GB, but it used to work up to 2GB)
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience