<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 11/01/2018 15:25, Donald Ziesig via Lazarus wrote:<br>
<blockquote type="cite"
cite="mid:3be026c6-f8e4-acc6-83ce-a883b99a1754@ziesig.org">How
about Line Endings?
<br>
</blockquote>
<br>
You can use system unit constants which will map to the appropriate
values on each platform:<br>
<a
href="https://www.freepascal.org/docs-html/rtl/system/lineending.html">System.LineEnding</a><br>
<a
href="https://www.freepascal.org/docs-html/rtl/system/directoryseparator.html">System.DirectorySeparator</a><br>
<br>
Also keep in mind that you can write conditional code aimed at
specific platforms, for example:<br>
<tt>{$IFDEF WINDOWS}</tt><tt><br>
</tt><tt> Path := 'C:\Temp\';</tt><tt><br>
</tt><tt>{$ELSE}</tt><tt><br>
</tt><tt> Path := '/tmp/';</tt><tt><br>
</tt><tt>{$ENDIF}</tt><br>
<br>
Denis<br>
</body>
</html>