> < ^ Date: Wed, 24 Feb 1993 18:31:11 +0100
> < ^ From: Jean Michel <jmichel@math.jussieu.fr >
> ^ Subject: ranges

The new ranges are an improvement, but...
I find the fact that <high>-<low> must be divisible (the error message
says divisable which is a misspelling) by <inc> to be slightly
annoying. I had in my code thinks like:
to specify the odd integers smaller than n, and
to specify the even integers less than n. I hoped to be able to rewrite
these as
[1,3..n] and [2,4..n]
but the first one works only for n odd and the second for n even!
One has to use
[1,3..n-1+(n mod 2)] and [2,4..n-(n mod 2)]
which is less pleasant and efficient.

What is the rationale for the restriction?

> < [top]