Global variables
Author: roger.wallin@abilita.fi (rogerw)
Hi,
Scenario: Having two sources and components activating components from the other source. Merging libraries or making different UARs for them is usually no problem as long as they do have different names, this is very clear eg. investigating the uar-files created by Uniface9 easy deployment. Neither is SYSTEM_LIBRARY a problem as long as there are created different "objects", eg. Global Procs.
MYPROC@SYSTEM_LIBRARY.PRC
YOURPROC@SYSTEM_LIBRARY.PRC
You can't create different uar-files for the SYSTEM_LIBRARY of different sources, as the run-time searching is stopped as the first SYSTEM_LIBRARY is found. However merging the SYSTEM_LIBRARIES from two different sources to one uar-file is mostly successful, but trying to merge "Global Variables" isn't. This is probably because the "Global Variables" are stored as one file of the UAR and so the second source always overwrites the Global Variables of the first.
I think that there has been the same problem merging dol-files. So if this is right, the only way to merge those Global Variables of the SYSTEM_LIBRARY is to move them to the same source. Is this a correct behaviour or is it a bug?
Regards RogerW.
PS. Probably the same is true for the USYS-library.

Uli



