Difference between revisions of "End of Line"
From Lazarus wiki
Jump to navigationJump to search (→End of line markers: More details on Mac OS) |
|||
Line 8: | Line 8: | ||
Mac OS X often accepts [[Line feed]] and [[Carriage return]]. | Mac OS X often accepts [[Line feed]] and [[Carriage return]]. | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | |||
+ | * [[doc:rtl/system/lineending.html|LineEnding]] Constant describing the current line ending character. | ||
+ | * [[doc:rtl/system/settextlineending.html|SetTextLineEnding]] Set the end-of-line character for the given text file. |
Revision as of 20:49, 13 July 2008
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, 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.