>But, to my surprise when I delete items from initialList, tempList >get the items deleted too. I can put the initial list content to a >field and extract them later after calculation. Is there a better >way to deal with this?
Yes: newlist = duplicate(oldlist) That will make a copy of the list, instead of just pointing to the original list. -- [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!]