words in Transcript

Melitón Cardona Torres toncardona at mac.com
Sun May 22 05:35:41 EDT 2005


JB has suggested:

set the wholematches to false
put wordoffset("called","make sure the closeField is called, as 
follows:")

  ---> returns 6

But ...

set the wholematches to false
put wordoffset("print","make sure the closeField is printed, as 
follows:")

  ---> returns 6 too,


yet ... "Printed" is not the word "print".

 From a syntactic point of view a word is a word even when it is trailed 
by , . - : ; ? !

so I vote for Klaus Major's proposal ("is among the tokens of ....")

Vielen Dank, Klaus!


Ton




More information about the use-livecode mailing list