Part selection in an array

In reply to 100rabhh:

The reason that you are using non-constant for a range expression.