Hello, Lingo-Ls
Does anybody know how to count members in a list?
For example:
MyList=[#d,#a,#b,#c,#b,#a]
I want the lingo to find out that within myList, there are 2 of #a, 2 of #b,
1 of #c and 1 of #d.
If I do myList.count it only gives me the total of 6.
Any suggestion greatly appreciated. Thanks in advance. Yo


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to