Forum > General
Quick Question...
(1/1)
captian jaster:
Is there a limit to the length of the string returned in a TINIfile?
I noticed there was alot of XML Based EBooks so I wanted to try it with an INI File :P
I got pretty far until i copied A long text into the =
([Section]
o=REALLY LONG TEXT WENT HERE... Maybe more then 40 chars :\)
I loaded the whole thing onto a TMemo with a
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Memo.Append(INI.ReadStrings('Section','o','')); But not every thing went on the memo :'(
I deleted it but i had second thoughts D:
So just wondering... Is there a specific length of chars for when reading a string from an INI File?
Dibo:
I only know that the text can not have the line ending character (INI reads the text only to the first line ending character).
I always use INI only for typicaly program configuration (most numbers or short text). For big text is best to use XML or similar.
Regards
BlueIcaro:
Try this:
--- Quote ---Memo1.Lines.Add (INI.ReadStrings('Section','o',''));
--- End quote ---
/BlueIcaro
Navigation
[0] Message Index