Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Arrays cannot be initialized if they are declared to be a specific size.
Error ID: BC30672
To correct this error
Declare the array, and then initialize it separately.
Declare and initialize as a dynamic array, and use ReDim if necessary; for example:
Dim A() As Integer = {0, 1, 2, 3} ReDim Preserve A(3)