It's good that it works with a constant, but what's the issue with variables, why can't it work with them?
You can have variables for the Index pointer in arrays in general :?

Is that going to be added in a future pbp upgrade, or is there some fundemental reason it's difficult/impossible to implement?