Including same libraries two or more times

new topic     » topic index » view thread      » older message » newer message

Hi,

Normally I split my code in several include-files, but this usually ends up in me having to re-include standard-euphoria (or other custom made files) include files when needed.

Example;
myOEMainProgram.exw
- Includes myOESubFileA.e -> which includes "std/sequences.e".
- Includes myOESubFileB.e -> which includes "std/sequences.e".
- Includes myOESubFileC.e -> which includes "std/sequences.e".

Here "std/sequences" is included three times; does this mean that all members (constants, enums, functions, etc) occupy memory three times, or are they included once, but are only visible to the files including them directly? Or something else?

Kenneth aka ZNorQ

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu