Help with Arrays
Bill Vlahos
bvlahos at mac.com
Mon Oct 14 16:52:45 EDT 2013
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
More information about the use-livecode
mailing list