Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug when redimensioning multi-dimension arrays?
#35
(06-20-2024, 02:07 AM)SMcNeill Wrote:
(06-19-2024, 10:36 PM)TerryRitchie Wrote: Yep, this a known issue. I'll let Steve explain it in detail though. He explained it to me a few years back when I was wondering the same thing but I can't seem to find that explanation now? It may have been on a previous forum.


(If not in a SUB/Function which cleans up variables at exit, you may want to REDIM Temp(0,0) AS TYPE to reduce memory usage and clean up that temp array to as small a footprint as possible.)

Perhaps we need a a keyword such asĀ 

_ERASE(Temp)

that cleans the array out memory completely. I remember having that keyword back in 8-bit MS Basic.
It's not the having, it's the doing.
Reply


Messages In This Thread
RE: Bug when redimensioning multi-dimension arrays? - by bobalooie - 06-21-2024, 01:58 PM



Users browsing this thread: 5 Guest(s)