easy to reproduce.
4 Files
File1: DeclareModule
File2: Module
File3, File4: Includes
File2 includes File1 in a Module. File 2 can use References of File1
File2 includes File3 and File4: File3 doesn't see anything of File2 and File1 but of File4, File2 doesn't see anything of File3. File4 only sees File3
File1.pb
Code: Select all
DeclareModule Test
#TEST1=1
EndDeclareModule
Code: Select all
Module Test
#TEST2=1
XIncludeFile "File3.pb"
XIncludeFile "File4.pb"
; #TEST1 can be use, and is shown in the Editor
; #TEST3 can be use, but is not shown in the Editor
; #TEST4 can be use, but is not shown in the Editor
EndModule
Code: Select all
; #TEST1 can be use, but is not shown in the Editor
; #TEST2 can be use, but is not shown in the Editor
; #TEST4 can't be use (worked as designed), but is shown in the Editor
#TEST3=1
Code: Select all
; #TEST1 can be use, but is not shown in the Editor
; #TEST2 can be use, but is not shown in the Editor
; #TEST3 can be use, but is not shown in the Editor
#TEST4=1