Code: Select all
DeclareModule TestM
Enumeration MyEnum
#EnumA1
#EnumA2
#EnumA3
#EnumA4
EndEnumeration
Structure MyStructure1
Member1.I
Member2.I
EndStructure
EndDeclareModule
Module TestM
Enumeration MyEnum
#EnumB1
#EnumB2
#EnumB3
#EnumB4
EndEnumeration
Structure MyStructure2
Member1.I
Member2.I
EndStructure
EndModule
The editor Variable Viewer tool can't see MyStructure2 or the 'B' series enums at all. I'm inclined to think both these items should be visible when the module's file is the active one and the private scope is valid and invisible when an out of scope file is displayed. (Contrast this with the behaviour of autocomplete).
This enum isn't actually logical because the continuation causes it to cross the public/private divide. This should probably be a warning if not a syntax error?
(5.73, 64-bit on Windows 7)
Edit: Bolded editor for distinction.