module vs import
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.
More information about the Digitalmars-d-learn