Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REDIM takes more resources than DIM?
#12
(07-17-2024, 09:16 AM)SMcNeill Wrote: May also be an issue with having to reset array values to 0.

TYPE foo
   x AS STRING 
   y AS LONG
END TYPE

REDIM whatever(1000) AS foo

I seem to remember that the above doesn't always initialize arrays to 0, so you may need to do so manually for that, leading to extra run time and such.
This was a bug that will be fixed in the next release.
Reply


Messages In This Thread
REDIM takes more resources than DIM? - by bplus - 07-17-2024, 12:21 AM
RE: REDIM takes more resources than DIM? - by luke - 07-17-2024, 01:36 PM



Users browsing this thread: 13 Guest(s)