Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown PATABLES - Undefined Error
Message
From
11/04/2007 15:19:07
 
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:
01214642
Views:
18
I did not solve it, but the exe builds, so I ignore the err file inless there is something other the 'PATABLES not found' in it.
:-(
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform