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