I have a list of names many of which repeat and I want to get a count of how 
many times each name appears in the list and sort it.

This seems like a perfect example of using an array but I'm struggling to 
figure it out.

Sample list:
        Bill
        Mary
        Bill
        John
        Jim
        Jane
        Bill
        Jim
        Jane

The popularity result should look like this:
        Bill (3)
        Jane (2)
        Jim (2)
        John (1)
        Mary (1)

How would I do this using an array?

Thanks,
Bill Vlahos
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to