Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown PATABLES - Undefined Error
Message
 
 
To
02/03/2007 16:34:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01200427
Message ID:
01214621
Views:
16
So, how did you solve the problem, Beth?

>Hi All,
>
>I am hoping this is something real simple that I am missing. I have an Array that I declare in a function, that I then pass down to other functions by reference (@) so they can read and work with. But when I compile the program, I get the error above in my lower functions.
>
>


>main function
> LOCAL llok, latables(1)
> llok = .T.
> llok = conversionmove(@latables)
>< end main function >
>
>FUNCTION conversionmove()
> PARAMETERS patables
> EXTERNAL ARRAY patables
> LOCAL llok, lnloop, lnrows
> llok = .T.
> lnrows = ALEN(patables, 1)
>< end conversionmove function >
>


>
>What am I missing? I looked at help, and it said you have to declare the array as external, so I did this and got the same error:
>
>


>main function
> LOCAL llok, latables(1)
> EXTERNAL ARRAY patables
> llok = .T.
> llok = conversionmove(@latables)
>< end main function >
>
>FUNCTION conversionmove()
> PARAMETERS patables
> EXTERNAL ARRAY patables
> LOCAL llok, lnloop, lnrows
> llok = .T.
> lnrows = ALEN(patables, 1)
>< end conversionmove function >
>


>
>TIA
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform