RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.sLineBreak Constant

Represents the character(s) used to generate a line feed.

Pascal
sLineBreak = #13#10;
C++
sLineBreak = #13#10;

System

Windows systems define sLineBreak as a combination of carriage return (#13) and line feed (#10).  

Linux systems define sLineBreak as simply a line feed (#10).  

It is preferable to use this constabnt rather than hard code #13#10 or #10 (as appropriate) to move to a new line in a text output. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!