Sorru "ell" and "one" are hard to distinguish. SO function myCounter myList repeat for each line i in myList if i is empty then next repeat add 1 to f[char 1 to 2 of i &comma& char 7 to 8 of i] end repeat repeat for each line i in myList if i is empty then next repeat put cr & i & "_" & f[char 1 to 2 of i &comma& char 7 to 8 of i] after s end repeat delete char 1 of s -- is return return s end myCounter
_______________________________________________ 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