Hi Mark, It's not hard!
repeat for each word tWord in tYourtext add 1 to aWordCounts[tWord] end repeat put the keys of aWordCounts into tList sort lines of tList put tList ... but you probably figured this out by now. Phil On 9/30/10 8:17 PM, Mark Swindell wrote:
There's a sample script in the LiveCode Resource Center called "listing all the unique words in a piece of text." It's located under "Resource Center/Sample Scripts/Text/Listing all the ..." There's a button available to download the script. Unfortunately it doesn't appear to work and I can't peek into the actual button containing the script. I used both LiveCode and Rev Studio 4.0... same result. If anyone has a minute to look and see if this is consistent with their setup, I'd appreciate it. (Or if anyone has the code, I'd appreciate getting it.) Thanks, Mark_______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
-- Phil Davis PDS Labs Professional Software Development http://pdslabs.net _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
