Re: Set optional function parameter

2018-08-18 Thread Simen Kjærås via Digitalmars-d-learn
On Friday, 17 August 2018 at 08:52:53 UTC, Andrey wrote: I mean - can I skip some arguments and set only one that I want? Hm, Python, it seems to me, support this feature. There's no such built-in functionality in the language or standard library, no. As Jonathan pointed out, this has been im

Re: Set optional function parameter

2018-08-17 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, August 17, 2018 2:52:53 AM MDT Andrey via Digitalmars-d-learn wrote: > Hello, > > In D there is a nice function: > > auto Tuple!(int,"status",string,"output") executeShell ( > > > > scope const(char)[] command, > > const(string[string]) env = cast(const(string[string]))null, > > Conf