Importing struct
Andrey
saasecondbox at yandex.ru
Tue Aug 14 07:40:22 UTC 2018
On Monday, 13 August 2018 at 14:30:36 UTC, Timoses wrote:
> On Monday, 13 August 2018 at 14:16:47 UTC, Mike Parker wrote:
>> On Monday, 13 August 2018 at 13:09:24 UTC, Andrey wrote:
>>> [...]
>>
>> The convention is to use lowercase for the module name:
>>
>> module myclass;
>>
>> struct MyClass {}
>
> Using lowercase letters for module names (and their respective
> file names!!) also prevents weird errors when different OSes
> treat lower/capital case letters differently which can
> sometimes lead to modules not being found.
>
> So from my experience: always use lower-case letters for
> modules and the file names.
I understood, thank you!
More information about the Digitalmars-d-learn
mailing list