New Line in .txt file

Hi All,

I am trying to build my own log file for my test steps. I need to be able to submit a new line. I have tried a few things but cant find what I need. Any answers would be appreciated.

open file "/tmp/testresult.txt" for appending 

write "Line 1" & Return & "This is" & "Line 2" to file "/tmp/testresult.txt" 

close file "/tmp/testresult.txt"

Comments

Sign In or Register to comment.