import from subdir

CrypticMetaphor CrypticMetaphor88 at gmail.com
Thu Dec 23 11:30:40 PST 2010


On 12/23/2010 1:38 PM, spir wrote:
> Is there a way to import util&  data from test?

I think this should work:

util.d first line:
	module util;

data.d first line
	module data.data;

test.d first lines
	module test.test;
	import util;
	import data.data;


Disclaimer: I don't know if directory names and file names may overlap, 
maybe you should rename them.


More information about the Digitalmars-d-learn mailing list