Quote:
Originally Posted by Inverness
That seems like an awfully large format to use. When you have to write down the name of the variable twice and use index for each member of an array.
|
but try to store objects recursivley in a format such as INI and you'll have problems.
Of course It is possible using a custom format but XML offers the ability of easily transporting the data and put it somewhere else like a website because there are plenty of parsers available.
As for "index", it could be replaced with CSV so it's just
array = {"a","b","c","d");
is represented as a,b,c,d
but that wouldn't account for objects stored in arrays or multi dimensional arrays.