Hi,
I'm very new to BM, and know this kinda question has been asked before but I've not really found what I'm looking for.
Basically I want to write a funtion(s) to create, read and write to INI files for program config files. Want to be able to reuse the funtions in pretty much any program I write with little or no need to alter them. I see someone has done this pretty much already but I'm kinda using this as a challenge to myself in an effort to learn a bit more about BM.
I have a few idea how to read the data etc. but I'm more concerned ATM about the best way to store the data within the program. i.e. best to use arrays, arrays within arrays, 2 diemensional arrays or types? I started to ready about these but soon had my brains flowing out my ears. :) Any pointers in the best way to achieve what I want would be appreciated.
Thanks in advance. :)
I'm very new to BM, and know this kinda question has been asked before but I've not really found what I'm looking for.
Basically I want to write a funtion(s) to create, read and write to INI files for program config files. Want to be able to reuse the funtions in pretty much any program I write with little or no need to alter them. I see someone has done this pretty much already but I'm kinda using this as a challenge to myself in an effort to learn a bit more about BM.
I have a few idea how to read the data etc. but I'm more concerned ATM about the best way to store the data within the program. i.e. best to use arrays, arrays within arrays, 2 diemensional arrays or types? I started to ready about these but soon had my brains flowing out my ears. :) Any pointers in the best way to achieve what I want would be appreciated.
Thanks in advance. :)