Hi Oscar,
It's documentation error. You cannot use an array element in the FOR loop and I'm not sure why would you need that.
>Hello
>Try this in Vfp7 or 8:
>DIMENSION aInd[10]
>FOR aInd[1] = 1 TO 20
> ? aInd[1]
>ENDFOR
>
>I get "aInd is not a variable"
>
>However, this should work according to FOR..ENDFOR help:
>"Var
>Specifies a variable or an array element that acts as the counter. The variable or array element doesn't have to exist before FOR ... ENDFOR is executed"
>
>Am I missing something?
--sb--