Forum Discussion

rmnrdi's avatar
6 years ago

reading ini without using Storages

I need to be able to read from a .ini file as it stores information needed for testing.   The problem is, it doesn't contain a [Root] section (which is mandatory) and one will not be added.   ...
  • AlexKaras's avatar
    6 years ago

    As always, I just created my own function to handle this.

    :) (Y)


    P.S. Possible performance improvement for large INIs: as it is pefrectly fine if [Root] section is at the end of the file, you may just make a copy of the file and append the [Root] line at its end.