The scope of the definitions defined as SHARED (see the SHARED keyword) is limited to that one module, and are available throughout the module (unlike local definitions). This allows you to keep private any definitions that are only needed to implement internal functionality. SHARED definitions are used to support EXPORT definitions.
//inside the Definition2.ecl file you have: IMPORT AnotherModule; //makes definitions from AnotherModule available to this code, as needed SHARED Definition2 := AnotherModule.Definition1 + 5; //Definition2 available throughout its own module, only //***************************************************************************** //then inside the Definition3.ecl file (in the same folder as Definition2) you have: IMPORT $; //makes definitions from the current module available to this code, as needed EXPORT Definition3 := $.Definition2 + 5; //make Definition3 available to other modules and //also available throughout its own module