Having two `main()` functions throws an error.Let's say I want to use some functionality of another program, but it has a `main(){}` function. How can I import and use functions without importing the `main(){}` function?
How to exclude function from being imported in D language?
BoQsc via Digitalmars-d-learn Tue, 08 Mar 2022 09:51:53 -0800
Premise: In D language, only one main(){} function can exist in a
program.
- How to exclude function from being i... BoQsc via Digitalmars-d-learn
- Re: How to exclude function fro... Paul Backus via Digitalmars-d-learn
- Re: How to exclude function... BoQsc via Digitalmars-d-learn
- Re: How to exclude func... Ali Çehreli via Digitalmars-d-learn
- Re: How to exclude func... bauss via Digitalmars-d-learn
- Re: How to exclude ... BoQsc via Digitalmars-d-learn
- Re: How to exclude ... Anonymouse via Digitalmars-d-learn
- Re: How to exc... oculussaw via Digitalmars-d-learn
- Re: How to... Ali Çehreli via Digitalmars-d-learn
- Re: Ho... oculussaw via Digitalmars-d-learn
- Re: How to exclude ... Era Scarecrow via Digitalmars-d-learn
