On Wednesday, 6 January 2016 at 23:00:43 UTC, Namal wrote:
I just tried to import one module with a main into another, but I get this:
You can't have two mains, but you can import a module with main from another module without one.
Adam D. Ruppe via Digitalmars-d-learn Wed, 06 Jan 2016 15:11:20 -0800
On Wednesday, 6 January 2016 at 23:00:43 UTC, Namal wrote:
I just tried to import one module with a main into another, but I get this:
You can't have two mains, but you can import a module with main from another module without one.