Array initializer has <number> too many elements
Your array initializer contains too many elements.
Error ID: BC30568
To correct this error
If you are using nested array literals to create a jagged array, enclose each subarray in parentheses. For example, if your jagged array definition is:
Dim jaggedValues = {{1, 2}, {2, 3, 4}}
you can change it to:
Dim valuesjagged = {({1, 2}), ({2, 3, 4})}
Use
ReDim
to change the size of the array.
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.