module vs import
Tomasz Sowiñski
tomeksowi at gmail.com
Sun Jun 8 10:38:42 PDT 2008
Robert Fraser Wrote:
> The "module" keyword is used to assign a name to your module (which
> incidentally must coincide with its filename & folder structure) while
> "import" gives you access to the module with the given name.
By the way, why do you have to repeat the filename in the file itself? I'm sure there must be some reason, but I can't see it now.
Tomek
More information about the Digitalmars-d-learn
mailing list