Expression not allowed here

The indexes in an array definition, such as in a Dim, Global, or Static statement, cannot contain an expression.  For example,  Dim x(3*5)  will produce this error.  You can use a Const statement to evaluate the expression and then use the constant to dimension the array.