>>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
>>local xi
>>for xi=1 to alen(xtab)
>> xtab(xi)=xj
>>next
>
>TRY
> dimension xt(10)
> afill(@xt,"")
>
>
> ****************
> FUNCTION AFILL()
> ****************
> PARAMETERS xtab,xj
> dimension xtab(alen(xtab))
> local xi
> for xi=1 to alen(xtab)
> xtab[xi]=xj
> next
Or perhaps
local lcCompat
lcCompat = set('compat')
set compat off
dimension xt(10)
store "" to xt
set compat &lcCompat.
Cheers,
Andrew
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.