Parameter File reading

biocyberman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 23 03:44:11 PDT 2017


On Wednesday, 23 August 2017 at 10:25:48 UTC, Vino.B wrote:
> Hi All,
>
>   Can anyone provide me a example code on how to read a 
> parameter file and use those parameter in the program.
>
> From,
> Vino.B

Parameter file is a plain text file, with some structure. I've 
seen in other languages people use YAML file for configuration. 
So you can also use YAML in D: 
https://github.com/dlang-community/D-YAML. Check the examples 
directory for inspiration.


More information about the Digitalmars-d-learn mailing list