Dear all,
I want to inform you that there is a subtle difference in the Find function between scripts for FM-10/11 and the later FM versions.
See the relevant script part (function CollectVarsInDoc, line 50):
oTR = oDoc.Find(oTR.beg, findParams); // prepare for next find
While this is OK in the newer FM version, in FM-10/11 it creates a loop at the first found variable.
For all FM version the following is correct:
oTR = oDoc.Find(oTR.end, findParams); // prepare for next find
Klaus