I still use Adobe Director Lingo once a while. There used to be a discussion forum but it's gone. Is there an archive that I may search for answers that people asked before? Is there another public forum for this old software?
I have a question in sorting a list. When sorting, it sorts in alphabetic order. How do I know the order of the sort so I can find the items in a different list?
list1 = ["aaa", "zzz", "mmm", "bbb"]
list1.sort would make it ["aaa", "bbb","mmm","zzz"], but I'd like to know the changed order is 1, 4, 3, 2 if the original is 1, 2, 3, 4. I need this so I can pick up the value from another related list based on the new order after sorting.
Sorry to post it hear. I thought there were many Lingo developers moved to ActionScript in the past.
I don't know Lingo, but I've never heard of any language providing such a feature. This very strongly points toward your approach to whatever problem you're trying to solve being fundamentally flawed. Perhaps you need to learn how to use property lists.
Thank you for the answer. That's the way to do it. I have to create a new property list and sort the list and then I can see the number in the changed order. THANKS for the great idea.