An ini file is good for retrieving set bits of information. Like Datafile="c:\dump.txt".
A csv is better for storing and retrieving records of data.
With an ini file you have to specify exactly what you want piece of information you want to read. With a csv file you can read in a whole bundle of data into an array.
Say you have a file containing 10 records that have 10 fields each. Something like the following will read in the whole lot into an array:
For records=1 to 10
For fields=1 to 10
Input #1, array(records,fields)
Next
Next
If it's a couple of options: ini.
If it's a big bundle of data: csv. HF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.