I am trying to store a text string in an ini file which will be
retrieved as the TEXT for a memo box.
When I write it to the ini file the %CRLF% forces a new line,
so that when the string is read back from the ini file it is
no longer correct for the memo box.
How can I stored the %CRLF% literally instead of forcing a new line
in the ini file?
How to store a %CRLF% in an ini file
Moderators: Dorian (MJT support), JRL
Something like this:
Later,
Dick
Edited to fix the "hosed-by-the-forum-software" script...
Code: Select all
Let>memotext=Item1%CRLF%Item2%CRLF%Item3
StringReplace>memotext,%CRLF%,~carriagereturn_linefeed~,initext
EditINIFile>Filename,section,entry,%initext%
//do stuff
ReadINIFile>Filename,section,entry,var
StringReplace>var,~carriagereturn_linefeed~,%CRLF%,memotext
Dick
Edited to fix the "hosed-by-the-forum-software" script...
Last edited by JRL on Tue Jan 30, 2007 6:03 pm, edited 1 time in total.