Hi, hope this is in the correct thread :-)
I am using Tinifile, love it.
problem: it is altering two things:
1. removing the whitespace
2. altering the comment lines
example
##################
# this is a comment line
#
# more comment lines
#############
---whitespace here (blank line) -----
key=some data
--whitespace here (blank line) -----
#################
#
# more comments
#
##############
what fpc does to it:
=#################
=# this is a comment line
=#
=# more comment lines
=#############
key=some data (notice whitespace above and below are now gone)
=#################
=#
=# more comments
=#
=##############
this is when i use the line ini.writestring([newdata here])
Fortuneately, the app that uses the ini file, seems to be unaffected by these comment changes, and white space, however, I prefer it not to do that.
is there osmething I can do to prevent these changes?