Pointer to environment.get

Vino akashvino79 at gmail.com
Mon Aug 28 06:38:50 UTC 2023


Hi All,

   The the below code is not working, hence requesting your help.

Code:
```
import std.stdio;
import std.process: environment;
void main () {
    int* ext(string) = &environment.get("PATHEXT");
    writeln(*ext);
}
```


More information about the Digitalmars-d-learn mailing list