Calling functions from other files/modules

Namal via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 6 15:00:43 PST 2016


On Wednesday, 6 January 2016 at 22:15:43 UTC, Adam D. Ruppe wrote:

> You can import it as long as you define it!

I just tried to import one module with a main into another, but I 
get this:

Error: only one main allowed




More information about the Digitalmars-d-learn mailing list