How to clear an array?


How do I empty the array from all inserted data?
So I can put new data in the array but always to the empty array?

Redim arrWords(-1)

how to check if the array is empty??

Its Ubound will be -1.

Does this reduce the size of the array by 1 though? I believe that was an issue I had with it.

No. It reduces the size to zero.

For reference:

https://documentation.xojo.com/api/language/arrays.html

does this applied to multidimensional array??

Yes.