Named arguments are not valid as array subscripts
An array index is specified using the syntax for passing a procedure argument by name, for example Array(Index := 10). This syntax is not valid for array subscripts.
Error ID: BC30075
To correct this error
- Use an ordinary variable or constant expression as the array index, for example Array(10).