Difference between revisions of "End of Line"
From Lazarus wiki
Jump to navigationJump to search (→End of line markers: LF is the official OSX newline) |
Jwdietrich (talk | contribs) m (Formatting optimized for clearer distinction of key words and normal text.) |
||
Line 1: | Line 1: | ||
− | LineEnding is end of line marker. This constant (system unit) is used when writing end of lines to text files. | + | <tt>LineEnding</tt> is end of line marker. This constant (system unit) is used when writing end of lines to text files. |
== End of line markers == | == End of line markers == |
Revision as of 14:33, 27 October 2013
LineEnding is end of line marker. This constant (system unit) is used when writing end of lines to text files.
End of line markers
- Line feed (LF, #10 ) Linux, OSX, BSDs, Unix, ...
- Carriage return + Line feed (CRLF #13#10) MS Windows
- Carriage return (CR #13) Mac OS Classic
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.