Determines the end-of-line and end-of-file conventions for text file I/O.
procedure SetLineBreakStyle(var T: Text; Style: TTextLineBreakStyle);
SetLineBreakStyle(Text T, TTextLineBreakStyle Style);
System
In Delphi, call SetLineBreakStyle to determine how text file routines find or mark the end of a line and the end of a file. Affected routines include Read, Write, Readln, Writeln, Eof, Eoln, SeekEof, and SeekEoln.
T is the text file whose line break style is altered. It must be closed, or SetLineBreakStyle generates a runtime error.
Style indicates the style to use. When Style is tlbsLF, end-of-line is marked using only a linefeed character. When Style is tlbsCRLF, end-of-line is marked using a carriage return and linefeed.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|