Oops, and I missed Shalom's comment about empty strings not being
indexable. If the text is revised to say "0 to N-1", then an empty
string would be indexed from 0 to -1. And since an array indexed
from 0 to -1 is legal and would have 2 elements in it, this is not
good. It needs to be clear that any index less than 0 or greater
than N-1 is out of range, making any index value out of range for N=0.
So item 1 needs more work too.
Steven Sharp
sharp@cadence.com
Received on Thu Dec 9 15:17:42 2004
This archive was generated by hypermail 2.1.8 : Thu Dec 09 2004 - 15:17:46 PST