Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15795

VS 2019 Help. Need to clear an array without removing it.

$
0
0
Long story short:

I need to clear an array. Using "Erase" removes the entire variable as if it never existed. And redefining it after the "Erase" isn't an option b/c it's defined in a separate Module.

Is there an easy way to clear an array without using "Erase" (or an annoying loop)?

TIA

PS: Googling notes a ".clear" property, but it doesn't exist.

Viewing all articles
Browse latest Browse all 15795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>