The definition of a word

Peter T. Evensen pevensen at siboneylg.com
Fri Jul 28 18:37:58 EDT 2006


Actually, "token" is in transcript.  It is use more internally I think.  I 
tried in incase token would not take quotes into consideration, but it does.

At 05:33 PM 7/28/2006, you wrote:
>Peter,
>
>Yes, a quoted string is considered as one word.
>
>No idea why you mention tokens. Revolution will not recognize your
>string as Transcript.
>
>Best,
>
>Mark
>
>--
>
>Economy-x-Talk
>Consultancy and Software Engineering
>http://economy-x-talk.com
>http://www.salery.biz
>
>Download ErrorLib at http://economy-x-talk.com/developers.html and
>get full control of error handling in Revolution.
>
>
>
>Op 29-jul-2006, om 0:25 heeft Peter T. Evensen het volgende geschreven:
>
>>I just ran into something unexpected.  If I do the following, I get
>>1!  Does having a quote in a text string change the definition of a
>>word?
>>
>>put the number of words in (quote & "This is a test" & quote)
>>
>>In anything defined in quotes considered one word?  I would have
>>expected "This is a test"  (including the quotes) to have 4 words:
>>"This
>>is
>>a
>>test"
>>
>>I tried using token, and I get the same result.
>>
>>put the number of words in (quote & "This is a test")
>>
>>produces 1 as well, but
>>
>>put the number of tokens in (quote & "This is a test" & quote)
>>
>>produces 0
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 





More information about the Use-livecode mailing list