On Jan 23, 2008 10:54 AM, David Walbert <[EMAIL PROTECTED]> wrote:

>
> It's not that simple -- the last line should be
>
> start = 1 + ( (number of items - 1) * step)
>
> if it's assumed that the last item of the list is numbered one by default.
>


Alas, we see the ill effects of my hastiness today! I stand happily
corrected. In that case, it's even simpler:

if start is not specified
start = 1
if reverse
start += (number of items - 1) * step

Here's hoping I haven't missed something obvious again. ^_^ Regardless, I
think we've shown it's fairly painless to implement.

- Jason

Reply via email to