01-20-2021, 11:30 AM
(01-19-2021, 10: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?