matchChunk problem
Posted: Mon Oct 19, 2009 9:41 pm
Hi, I've some code which includes:
Rev gives an error at the matchChunk line; it doesn't seem to like the symbol "^" but this, so the dictionary tell me (in the matchChunk and matchText entry), means "begins with" in this situation.
Has anyone any ideas how to solve this please:?:

PS I guess I could use matchText instead of matchChunk, as I'm dealing with individual words, is that correct?
Code: Select all
repeat with CharGrow=1 to tCharCount
put char 1 to tCharCount of word tWords of fld "INPUT" into GrowingVar
if matchChunk(TheWord,^GrowingVar) is false then
delete word TheWord of fld ("List" && CopyLists& "C"))
end if
end repeat
Has anyone any ideas how to solve this please:?:

PS I guess I could use matchText instead of matchChunk, as I'm dealing with individual words, is that correct?