How to import modules?

Ali Çehreli acehreli at yahoo.com
Tue Dec 4 08:58:34 PST 2012


On 12/03/2012 08:31 PM, js.mdnq wrote:
> I created a .d file having a class with the modules tag at the
> top and everything public. I put it in a dir and used the -I flag
> to include the path. When I import the file I get an undefined
> method.

I had written a short chapter about that topic:

   http://ddili.org/ders/d.en/modules.html

Ali

-- 
D Programming Language Tutorial: http://ddili.org/ders/d.en/index.html


More information about the Digitalmars-d-learn mailing list