-> However, I disagree that there's no reason to have dimension sizes less
-> than 2. :-) I don't know about Chipmunk BASIC, but some BASICs
-> allow specified dimension ranges, like DIM X(1200 to 1500), meaning
that
-> a subscript of 1200 to 1500 is valid. I can easily visualize such an
array
-> being declared dynamically based on runtime data requirements (e.g.
-> calculating totals on a user specified range of account numbers) where
the
-> lower and upper ranges might be the same. Even without the dimension
-> ranges, if the programmer calculated the actual subscript offsets, you
-> would have the same situation, ie. a subscript range of 1.
Okay. So there can be a *possibility* of a range of only 1. But there
would be no point in defining a dimension if there were not also a
possibility of its range being more than 1. So, in order to accommodate
possible ranges of 255 dimensions, at least 2^255 elements must be
capable of being accommodated.
dow


|