On Jan 23, 2008, at 11:39 AM, Siemova wrote:

Very easily:

if start is not specified
if not reverse
start = 1
else
start = number of items * step


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.


_____
David Walbert
LEARN NC, UNC-Chapel Hill
[EMAIL PROTECTED]



Reply via email to