Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00192676
Message ID:
00192680
Views:
21
>I have the following code in a method which is
>called throughtout a form to loop through an
>array and write the array element out to a low
>level file. The actual FPUTS is in the WriteFile
>method:
>
>LPARAMETERS aHeaderInfo
>
> FOR nHeader = 1 TO ALEN(aHeaderInfo)
> ThisForm.Writeline(aHeaderInfo[nHeader])
> ENDFOR
>
>RETURN
>
>
>When I build an EXE, I get the error:
>
> 'Unknown AHEADERINFO - Undefined.'
>
>The word 'aHeaderInfo' appears only in this method.
>
>So what gives?
>
>Thanks in advance

It seems to be non-critical compilation error: VFP compiler expects to see arrays declared. You may use a trick: add two lines to the end of this method code:

RETURN
DIMENSION AheaderInfo(1)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform