I'm developing an engineering application which stores data in C arrays. When a user edits data representing one of the items of the array, I want to be able to show the item number they're editing.
Item 16 of 72 (maximum 5000), last modified one hour ago
The problem is, we have an accompanying programming language (which most of our users are familiar with) that stores values in zero-based arrays. We can expect the users would be comfortable with zero-based arrays. However, what to do about edge cases?
I'm ok with seeing this on screen:
Item 0 of 72 (maximum 5000), last modified one hour ago
but the last element will be:
Item 71 of 72 (maximum 5000), last modified two years ago
and that just seems wrong to me.
Additionally, users can use these indices in the accompanying programming language, so it wouldn't be right just to add 1 to the index to move (0..71) to (1..72).
Any suggestions on how to display this to the user so it's clear that the indices go from 0..71 while there are 72 items? This is the closest I've gotten, but it seems unwieldy.
Item 16 (0..71), maximum 5000, last modified just now