2021-01-20, 12:30 PM
(2021-01-19, 11:47 PM)patters Wrote: What is the recommended way to reset an array's contents? Do we have to run a FOR loop from 0 TO UBOUND and clear it element by element, or is there a neater way?
I see that the following doesn't work:
Code:arrayName={}
You could get the address of the start of the array and then use the MemSet method in the memcopy library to clear it quickly?

