[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'System' (#rtl)

# LineEnding

Constant describing the current line ending character.

## Declaration

Source position: sysunixh.inc line 29

`const LineEnding = #10;`

## Description

LineEnding is a constant which contains the current line-ending character. This character is system dependent, and is initialized by the system. It should not be set.

This constant is part of a set of constants that describe the OS characteristics. These constants should be used instead of hardcoding OS characteristics.

## See also

DriveSeparator |  | Character used to separate directory parts.
DirectorySeparator |  | Character used to separate directory parts.
LFNSupport |  | Constant describing support for long filenames.
PathSeparator |  | Character used to separate paths in a search list
sLineBreak |  | Alias for LineEnding
FileNameCaseSensitive |  | OS treatment of filenames is case sensitive.
FileNameCasePreserving |  | OS preserves case in filenames when creating or renaming entries.
DefaultTextLineBreakStyle |  | Default line ending style.