Sha256: 250451099373cabc11daf341f35fddae4faa14e349e64c1b4ddd70be345d538f

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <!-- Documenting NewLine-->
  <head>
    <meta http-equiv="Content-Language" content="en-ca" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../style.css" />
    <title>environment::newline Function</title>
  </head>
  <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
      <tr>
        <td class="NavBar-Cell">
          <a href="http://nant.sourceforge.net">
            <b>NAnt</b>
          </a>
          <img alt="-&gt;" src="../images/arrow.gif" />
          <a href="../index.html">Help</a>
          <img alt="-&gt;" src="../images/arrow.gif" />
          <a href="index.html">Function Reference</a>
          <img alt="-&gt;" src="../images/arrow.gif" /> environment::newline</td>
        <td class="NavBar-Cell" align="right">
                        v0.90</td>
      </tr>
    </table>
    <h1>environment::newline</h1>
    <p> Gets the newline string defined for this environment. </p>
    <h3>Usage</h3>
    <code>string environment::newline()
            </code>
    <p />
    <h3>Return Value</h3> A string containing CRLF for non-Unix platforms, or LF for Unix platforms. <h3>Examples</h3><ul class="examples"><li><p>Output two lines in a log file.</p><pre class="code">
            &lt;echo file="build.log" message="First line${environment::newline()}Second line" /&gt;
                </pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.90.3780.0)
            </div></body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nant-0.9.0.20100904 docs/help/functions/environment.newline().html
nant-0.9.0 docs/help/functions/environment.newline().html