Pretty Print uses Carriage Return (CR \r) and not Line Feed (LF \n)

Issue #79 resolved
James Powell repo owner created an issue

See #77

CR is old Mac standard

Comments (2)

  1. James Powell reporter

    https://forums.ni.com/t5/LabVIEW/Write-to-text-file-EOL-what-does-it-do-Documentation-bug/td-p/1224480?profile.language=en

    convert eol determines whether the function converts the end of line markers it writes into system end of line markers. An end of line marker is a carriage return followed by a linefeed on Windows, a carriage return on Mac OS, and a linefeed on UNIX. The LabVIEW end of line marker is a linefeed.

    I think this issue has not caused problems because the Write to Text file converts EOL by default, and LabVIEW understands the old Mac EOL.

    So I think we should switch Pretty Print to use LF (\n) rather than CR (\r).

  2. Log in to comment