Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question about arrays
Message
 
To
04/01/2000 05:07:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00312237
Message ID:
00312242
Views:
19
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform