I cannot seperate data written to a notepad txt file with the "\n". When I open the txt file after I have written to it, it shows all on 1 line and has a little square in place of "\n".
I can however write the file as a wdl file, and when i open it, it will seperate the data on a newline.
Anybody know why notepad puts little sqaures in place of "\n", but wdl writes the return correctly?
Code:
var fHandle;
action testCar {
while(key_g == 0) { wait(1); }
fHandle = file_open_write("Car1.txt");
file_var_write(fHandle,int(my.x));
file_str_write(fHandle,"\n");
file_var_write(fhandle,int(my.y));
file_str_write(fHandle,"\n");
file_var_write(fHandle,int(my.z));
file_close(fHandle);
}
It displays in notepad like:
58 [] -3000 [] 64,
except the barckets are little squares, i don't know how to type them on my keyboard. If I write to "Car1.wdl" it displays in the script as:
58
-3000
64
I don't know whats wrong with notepad?
Thanks
-raiden