Hi all
currently in most drivers we support an array notation like: XYZ{numElements}]
In order to support reading arrays.
Now in order to support reading partial arrays, I think it would be good to
generally change that to:
XYZ[{startIndex}..{endIndex}]
And the ordinary version:
XYZ[{endIndex}]
This would imply starting at the first element.
However, we should probably start with index “1”, as this seems to be what most
seem to use.
So:
XYZ
Would be the same as:
XYZ[1]
Would be the same as:
XYZ[1..1]
What do you think?
Chris