chr (13) is a carriage return
Chr (10) is a newline character. The ASCII function converts the character to its corresponding ASCII code,The CHR function converts a number (acscii code ) into the corresponding character. the difference between carriage return and line breakin ASCII, carriage returns and line feeds are different characters. 0X0D is the carriage return, that is, the cursor moves to the left of the bank; 0x0a is a newline, that is, the cursor moves to the next line. In the DOS window press ENTER, in fact, the input of two characters 0x0a,0x0d, corresponding to C, is \ r (carriage return) \ n (newline).
a newline (\ n) is the cursor moving down one line without moving to the beginning of the line, and the carriage return (\ r) returns to the beginning of the line without moving one row. The ENTER key is pressed to execute \ r \ n.
Carriage return, newline notation (CHR,ASCII)