Array array_name must have a constant size.

Situation

When creating a local array, you attempted to use a variable to set the size of the array. Array_name is the array that must have a constant size.

Solution

Be sure you're using a constant value when setting the size of a local array.


Documentation Feedback