After dimintx (1)/,write a number whose specific shaping is not less than 0.
Dimensional accuracy (1)
For security reasons, you can allocate a larger array memory. If you are uncertain about the number of arrays, you can use ReDim.
take for example
m= 10
ReDim a(m),b(m)
Yes, where m can be taken according to the actual situation, such as m=UBound(MyArray), so there will be no problem of crossing the border.