Using local import path
O/N/S via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 9 01:08:32 PDT 2016
Hi
Example:
I have a module called "a.b.c";
and a second module called "a.b.c.d.e";
For importing i can use
import a.b.c;
import a.b.c.d.e;
or with local names
import abc = a.b.c;
import abcde = a.b.c.d.e;
Question:
Is it possible to use something similar like following
import abc = a.b.c;
import abc.d.e;
which would be a combination of a local renamed and enhanced path?
I tried and it doesn't, could be a wrong using...
Thanks & Regards,
Ozan
More information about the Digitalmars-d-learn
mailing list