Re: List Words from Textarea

2010-10-14 Thread Richard Gaskin
Joe Lewis Wilkins wrote: Jacqi, forgive me for questioning/doubting you, but I really have trouble believing that, what with the literally thousands of scripts I wrote in HC over a period of nearly 20 years. I just don't remember having to strip commas from words when parsing and sorting

Re: List Words from Textarea

2010-10-14 Thread J. Landman Gay
On 10/14/10 12:40 AM, Joe Lewis Wilkins wrote: Jacqi, forgive me for questioning/doubting you, but I really have trouble believing that, what with the literally thousands of scripts I wrote in HC over a period of nearly 20 years. I just don't remember having to strip commas from words when

List Words from Textarea

2010-10-13 Thread Razvan Pantescu
Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: List Words from Textarea

2010-10-13 Thread Richmond
On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer in the Balkans; there's hope yet! How far north of the

RE: List Words from Textarea

2010-10-13 Thread Razvan Pantescu
-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other

Re: List Words from Textarea

2010-10-13 Thread Pierre Sahores
Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every word from a textarea? put any word of field - show any word, but exists some every word? Thank you, Raz. Wow; at least one other LiveCode / RunRev programmer

RE: List Words from Textarea

2010-10-13 Thread Razvan Pantescu
Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat for each word w in fld myfield

Re: List Words from Textarea

2010-10-13 Thread Richmond
On 10/13/2010 10:06 PM, Razvan Pantescu wrote: I've started to study Livecode, don't know too much of it. I'm living about 250km north of Danube (Focsani, Romania) So any suggestions so I can read or list all the words from a Textarea? I set up a stack with 2 fields: 1. field targetTEXT

Re: List Words from Textarea

2010-10-13 Thread Richmond
On 10/13/2010 10:24 PM, Razvan Pantescu wrote: Merci Beaucoup Pierre!! It works fine, Raz. From: psaho...@free.fr Date: Wed, 13 Oct 2010 21:18:37 +0200 To: use-revolution@lists.runrev.com CC: Subject: Re: List Words from Textarea Welcome to LiveCode Raz ! on mouseup repeat

RE: List Words from Textarea

2010-10-13 Thread Razvan Pantescu
Hey Richmond, I wanted to do your version, but I had some issues with sintax. Thank you for your help anyway. Raz. Date: Wed, 13 Oct 2010 22:27:26 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 10:24

Re: List Words from Textarea

2010-10-13 Thread Alex Tweedly
suggestions so I can read or list all the words from a Textarea? Thanks, Raz. Date: Wed, 13 Oct 2010 21:59:55 +0300 From: richmondmathew...@gmail.com To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea On 10/13/2010 09:57 PM, Razvan Pantescu wrote: Hi, How can I list every

Re: List Words from Textarea

2010-10-13 Thread J. Landman Gay
On 10/13/10 2:27 PM, Richmond wrote: This, along with my way of doing the same thing should show you how flexible LiveCode is, and how there is almost always more than one way to do things. Yup. Only I hate to say it, but Pierre's was much faster. ;) -- Jacqueline Landman Gay |

Re: List Words from Textarea

2010-10-13 Thread Richard Gaskin
Here's one from the LiveCode Resource Center included in the product (in the RC see Tutorials - Text -Listing all the unique words in a piece of text): function uniqueWordsOf theString repeat for each word thisWord in theString add 1 to wordsList[thisWord] -- array variable end repeat

Re: List Words from Textarea

2010-10-13 Thread Jim Lambert
Razvan wrote: How can I list every word from a textarea? First, welcome Razvan! In addition to Pierres and Richmond's suggestions, here's a few: function getWordList someText replace space with cr in someText return someText end getWordList function getUniqueWordList

Re: List Words from Textarea

2010-10-13 Thread Jim Ault
Caution with this solution. The definition of a 'word' for LiveCode is not what you would normally think. Spaces are not the only white space, and punctuation that is attached to the word is included as part of a word. On Oct 13, 2010, at 4:30 PM, Jim Lambert wrote: Razvan wrote: How

Re: List Words from Textarea

2010-10-13 Thread Joe Lewis Wilkins
Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided to do this? VERY un-HyperTalkish! Joe

Re: List Words from Textarea

2010-10-13 Thread J. Landman Gay
On 10/14/10 12:01 AM, Joe Lewis Wilkins wrote: Hi Jim, Thanks for the info. If this be the case, LC is really screwing around with things that could break MANY applications. I think I'll stay away from LC if this is an example of what is now being done to REV. Who is the crazy loon who decided

Re: List Words from Textarea

2010-10-13 Thread Joe Lewis Wilkins
Jacqi, forgive me for questioning/doubting you, but I really have trouble believing that, what with the literally thousands of scripts I wrote in HC over a period of nearly 20 years. I just don't remember having to strip commas from words when parsing and sorting text. If you say so, but why

RE: List Words from Textarea

2010-10-13 Thread Razvan Pantescu
help, now I have to check how can I open (embedd) an website in the application. Any suggestions? Thank you again. Raz. From: pepe...@cox.net Date: Wed, 13 Oct 2010 22:40:05 -0700 To: use-revolution@lists.runrev.com Subject: Re: List Words from Textarea Jacqi, forgive me