Illegal array bound for: <array name>

The following conditions could have caused this error:

  • One of the array bounds specified does not evaluate to an integer constant. The range of an integer constant is -32768 to 32767 (inclusive).

    Specify the bound so that it evaluates to between -32768 and 32767.

  • In one of the specified array dimensions, the lower bound is greater than the upper bound. The lower bound must be less than or equal to the upper bound.

    Respecify the lower bound or the upper bound.