02-21-2023, 11:13 PM
Hard to see how Erase "erases" an array if you can't reuse the name after Erase.
Must be purely to save memory space.
Code: (Select All)
ReDim a(1 To 10, 1 To 10)
a(8, 8) = 8
Print a(8, 8)
Erase a
redim a(1 to 8) '<<< red lines
(8) = 64
print a(8)
End
Must be purely to save memory space.
b = b + ...