>i wrote the sample code below in a prg that i put in a project. it is the only file of the project.
>When i want to generate the EXE, i obtain a message that xtab could not be localized. I do not know why.
>
>could someone help me.
>
>dimension xt(10)
>afill(@xt,"")
>
>****************
>FUNCTION AFILL()
>****************
>PARAMETERS xtab,xj
You need an EXTERNAL ARRAY statement to tell the compiler to treat xtab as an array.
>local xi
>for xi=1 to alen(xtab)
> xtab(xi)=xj
>next