full path to source file __FILE__

Jonathan Marler via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 21 15:47:42 PDT 2016


On Thursday, 21 July 2016 at 22:33:39 UTC, Adam D. Ruppe wrote:
> On Thursday, 21 July 2016 at 22:28:39 UTC, zabruk70 wrote:
>> won't? what this means?
>
> That gives the path to the .exe but he wants the path to the .d.
>
> But why? I would think the current working directory is 
> probably adequate and that's easy to get...

I explain in the original post. Any ideas Adam? Thanks in advance.


More information about the Digitalmars-d-learn mailing list