Difference between revisions of "End of Line"

From Lazarus wiki
Jump to navigationJump to search
m
Line 3: Line 3:
 
== End of line markers ==
 
== End of line markers ==
  
* [[Line feed]] (LF, #10 ) Linux, OS X, BSDs, Unix, ...
+
(Better/also known as line ending characters)
* [[Carriage return]] + [[Line feed]] (CRLF #13#10) MS Windows
+
 
* [[Carriage return]] (CR #13) Mac OS Classic
+
* [[Line feed]] (LF, #10 )Linux, OS X, BSDs, Unix
 +
* [[Carriage return]] + [[Line feed]] (CRLF, #13#10): Microsoft Windows
 +
* [[Carriage return]] (CR, #13): Mac OS Classic
  
 
Mac OS X often accepts [[Line feed]] and [[Carriage return]].
 
Mac OS X often accepts [[Line feed]] and [[Carriage return]].

Revision as of 08:37, 25 September 2014

LineEnding is end of line marker. This constant (system unit) is used when writing end of lines to text files.

End of line markers

(Better/also known as line ending characters)

Mac OS X often accepts Line feed and Carriage return.

See also

  • LineEnding Constant describing the current line ending character.
  • SetTextLineEnding Set the end-of-line character for the given text file.