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
Namal via Digitalmars-d-learn Wed, 06 Jan 2016 15:06:07 -0800
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