seem more natural to begin a count at 1. Actually, maybe even better to allow array definitions of form int foo[x:y]; (y >= x) creating integer variables foo[x], foo[x+1],...,foo[y].
I think the (very old) IBM PL/I language was like this.
seem more natural to begin a count at 1. Actually, maybe even better to allow array definitions of form int foo[x:y]; (y >= x) creating integer variables foo[x], foo[x+1],...,foo[y].
I think the (very old) IBM PL/I language was like this.