Hello guys!

I've been trying the info above but I get not the expected result ... hmmmm

THE GOAL: make a .txt file that looks like this:

start
end

------------------------------------------------------------------

var fHandle; STRING* sSave = " ";
...
function fSave{

fHandle = file_open_write("test.txt");
str_cpy(sSave,"start \0x0d\0x0a end"); file_str_write(fHandle,"sSave"); //1.
str_cpy(sSave,"start 0d0a end"); file_str_write(fHandle,"sSave"); //2.

file_close(fHandle);
}

I get no error but also not the expected result.

Please, someone try it out and explain what am I missing and, if possible, the solution.

:-) THANKS ! :-)