Hey, while we're at it:
on convertTF @tf
put the wholeMatches into saveMatches
set the wholeMatches to true
get (itemOffset(tf, "false,true"))
if (it > 0) then put it into tf
set the wholeMatches to saveMatches
end convertTF
This will actually change the value of the variable IF it is true or false.
Otherwise, it is untouched.
Just another variant...
Regards,
Brian