Code: Select all
locals svar1
local svar2 ----and so on until local svar8
put 5 into svar1
put 8 into svar2 --- and so on with different starting points
repeat with i =1 to 8
      put "svar" & i into tvar
      put "field" & i into tfield
      if (sFrame/10) is an integer then
         add 1 to tvar
         put tvar into field tfield of me
      end if      
   end repeatThanks
