Make global system object turn all public variables
into that object properties.
This way modules when they are called and released can release their own
publics without interfearing with calling exe values.
BTW You know the drill about public variables, unless you have to keep them in modules for some reason - get rid of them as much as possible.
>We use a menu that calls VFP compiled EXE's and many of the EXE's have PUBLIC var declarations with RELEASE ALL at the end. We want to release variables when the exe is done but keep some menu-level vars in memory. The issue now is that one or two of our many, many EXE's seem to get an error 1960 "Illegal Redefinition of variable..." which I believe is related to this problem. Any suggestions?