>list = [1, 2, 3, 4, 5, 6] >oldlist = duplicate(list) >newlist = [] >counter1 = list.count > >repeat with counter2=1 to list.count >newlist[counter2] = oldlist[counter1] >counter1 = counter1 - 1 >end repeat
I don't think there's a magic command that just does what you want, but you could simplify the way you're doing it by a couple of lines: list = [1,2,3,4,5,6] counter1 = list.count newlist = [] repeat with counter2 = counter1 down to 1 append newlist,list[counter2] end repeat -- [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
