LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

\r is still converted to \n when saving/loading

Root / SmileBASIC Bug Reports / [.]

🔒
12Me21Created:
yep. CHR$(13) is still converted to CHR$(10) when saving EDIT: I meant, saving and loading program files, not strings

I tested myself and it didn't? Just checking, you are talking about 3.3, right?

Yes. I saved a file (Using the save button (L+SAVE), not the function) when I loaded it, the CHR$(13)s were converted into line breaks EDIT: I just tried the SAVE command, and it has the same effect. Next I'll try saving a string and see what happens. EDIT2: Just tested SAVE "TXT:TEST",CHR$(13)*5. It has the same effect I've reported the bug. 3.3 is causing all kinds of problems. My gold membership isn't working, DLC shop won't work until tomorrow, CHR$(13) is still being converted.

You mentioned in chat that they didn't technically lie, because they said it wouldn't be converted when loading, and nothing about saving. Makes me curious whether that's true or not, what if you transfer a file to SB through homebrew that contains the character and try to load it, see if it converts on load.

actually, I bet it never converted when loading meaning that SB really DID lie, since they said they had changed/fixed it, when they did not.

I thought a test I did yesterday showed you can save character 13, when save from a string variable at least?

nope. seems like everyone believed the changelog (which is expected, especially for such a simple change)

nope. seems like everyone believed the changelog (which is expected, especially for such a simple change)
Version 3.3.1 confirmed :P

I thought a test I did yesterday showed you can save character 13, when save from a string variable at least?
What did you do to test it, so we can reproduce the test and see if it works?

What did you do to test it, so we can reproduce the test and see if it works?
SAVE "TXT:T",CHR$(13)
F$=LOAD("TXT:T")
?ASC(F$)

so, CHR$(13) is converted in the editor, but not when loading txt files... WTF I blame slackerSnail

Made a horrible video explaining CHR$(13). Watch video