Help: running a method from the importing file's method "space"

Era Scarecrow rtcvb32 at yahoo.com
Mon Apr 30 11:54:40 PDT 2012


On Monday, 30 April 2012 at 18:50:24 UTC, Era Scarecrow wrote:
>  Add 'import test;' to your MyLib module.

  Although that seems like it's connecting a library to something 
it shouldn't... In which case perhaps a delegate passed to the 
library to call myProg? Doesn't seem right either.

  What is your library suppose to do? And why should it have to 
access something outside it's library set? (Unless test.d is part 
of the library)


More information about the Digitalmars-d-learn mailing list