Listing all the unique words in a piece of text (Resource Center broken?)
revdev at pdslabs.net
Fri Oct 1 00:18:20 CDT 2010
It's not hard!
repeat for each word tWord in tYourtext
add 1 to aWordCounts[tWord]
put the keys of aWordCounts into tList
sort lines of tList
... but you probably figured this out by now.
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.)
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Professional Software Development
More information about the use-livecode