Automatic evaluation of array subscripts?