The definition of a word

Mark Schonewille m.schonewille at
Fri Jul 28 18:33:13 EDT 2006


Yes, a quoted string is considered as one word.

No idea why you mention tokens. Revolution will not recognize your  
string as Transcript.




Consultancy and Software Engineering

Download ErrorLib at 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

More information about the Use-livecode mailing list