FSRW Carriage return issue
Ad_Astra_88
Posts: 2
I'm sorry if someone has answered this question before, but I couldn't find reference to it in the forums. Using either the John Twomey or Tomas Rokicki versions of fsrw, 13 doesn't generate a carriage return in the file when used as:
fsrw.pputc(13)
Even in the test file "sdrw_test.spin" provided in the John Twomey download, which is meant to create a file with three lines each containing "R" 39 times, I get one line, containing "R" 117 times. Using 9 does generate a tab however, so that character code is working, and 13 still generates a carriage return when talking with a terminal, so I can't seem to determine why it doesn't in the file being written to. Any help would be greatly appreciated.
fsrw.pputc(13)
Even in the test file "sdrw_test.spin" provided in the John Twomey download, which is meant to create a file with three lines each containing "R" 39 times, I get one line, containing "R" 117 times. Using 9 does generate a tab however, so that character code is working, and 13 still generates a carriage return when talking with a terminal, so I can't seem to determine why it doesn't in the file being written to. Any help would be greatly appreciated.
Comments