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

SetTextLineEnding

Set the end-of-line character for the given text file.

Declaration

Source position: systemh.inc line 601

procedure SetTextLineEnding(

  var f: Text;

  Ending: String

);

Description

SetTextLineEndingsets the end-of-line character for the text file Fto Ending. By default, this is the string indicated by DefaultTextLineBreakStyle.

Errors

None.

See also

DefaultTextLineBreakStyle

  

Default line ending style.

TTextLineBreakStyle

  

Text line break style. (end of line character)