Difference between revisions of "End of Line"
From Lazarus wiki
Jump to navigationJump to search (Categories moved to template) |
|||
Line 1: | Line 1: | ||
{{End of Line}} | {{End of Line}} | ||
− | <tt>LineEnding</tt> 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|constant]] ([[System unit|system unit]]) is used when writing end of lines to text files. In other words, it starts a new line. |
== End of line markers == | == End of line markers == | ||
Line 7: | Line 7: | ||
(Better/also known as line ending characters) | (Better/also known as line ending characters) | ||
− | * [[Line feed]] (LF, #10 ): Linux, OS X, BSDs, Unix | + | * [[Line feed]] (LF, #10 ): [[Linux]], OS X, BSDs, Unix |
* [[Carriage return]] + [[Line feed]] (CRLF, #13#10): Microsoft Windows | * [[Carriage return]] + [[Line feed]] (CRLF, #13#10): Microsoft Windows | ||
* [[Carriage return]] (CR, #13): Mac OS Classic | * [[Carriage return]] (CR, #13): Mac OS Classic |
Revision as of 07:45, 13 April 2019
│
English (en) │
suomi (fi) │
русский (ru) │
LineEnding is end of line marker. This constant (system unit) is used when writing end of lines to text files. In other words, it starts a new line.
End of line markers
(Better/also known as line ending characters)
- 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.
See also
- LineEnding Constant describing the current line ending character.
- SetTextLineEnding Set the end-of-line character for the given text file.
- sLineBreak is an alias for LineEnding and is supplied for compatibility.