I would like to simply insert a newline character at the end of each item in an array, being written to file. Does JMP not recognize '\n'? If so how would I get it to output
for(i=1,i<=length(Files),i++, filestring=filestring|| " " || char(Files[i]) || "\n"); f=Save Text File(pypath || "argfile.txt",filestring,mode("replace"));
The complete list of Escape Characters can be found in the Scripting Guide
For your need, \!n is the escape character sequence
I am not aware of why JMP implemented a 2 character escape sequence. Maybe to help with double byte characters. Maybe someone at JMP may have the logic of their decision.