Variables are fine in a FOR loop.

But did you create an i variable?

i VAR WORD