Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown XYZ undefined
Message
From
29/07/2002 10:55:18
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00683476
Message ID:
00683520
Views:
24
I agree 100% - but 1.5 million lines of code and a 10 year old app don't want to let go that easily :(

>One more reason not to use global variables.
>
>>Hello all,
>>
>>I know this has been covered before but I can't remember what the solution was.
>>I have global vars defined in an application, each time I compile i get lots of errors saying "Unknown xzy undefined"
>>I have tried putting them all in a PRG declaring them as global and External
>>the external thing works except I would have to put it into every screen and prg which references these vars.
>>
>>Is there any way to generically tell the project manager to ignore these vars?
>>
>>Thanks in advance
>>
>>*** UPDATE ***
>>Ok I have figured this out.. I just added A dummy function to my main.prg with public array X[1]
>>no more compilation errors
Will Jones
Previous
Reply
Map
View

Click here to load this message in the networking platform