EDIT: The LiveCode dictionary says that LiveCode will translate the return character to whatever is appropriate for your platform when dealing with external files, but in case I can confirm that LF, CR, return, numtochar(10) and numtochar(13) all put a carriage return when writing to a text file. For my test workflow, I am typing this into the message box:
Code: Select all
put "hello" & return & "world" into url "file:outputfile.txt"
Code: Select all
od -c outputfile.txt
Also, running:0000000 h e l l o \r h e l l o
0000013
yields "world" when it should yield "hello" and "world" on two different lines.tail -n 2
Am I missing something here?