mixin(import("file.d"));
You need to pass -IPATH to DMD to use with imports like that, as in:
dmd -IC:\blabla\Thats a capital "i" there. > IIRC, you can do something with mixin and import to load in an external file > as > code, but since I've never used it and don't expect to any time soon (and > probably not ever), I don't remember exactly how it works. I believe that TDPL > talks about it though. So, that would effectively give you a #include. > > - Jonathan M Davis >
