Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question about arrays
Message
From
04/01/2000 05:07:33
 
 
To
04/01/2000 04:50:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00312237
Message ID:
00312239
Views:
16
>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
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform