<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Line break: vbNewLine vs. vbCrLf vs. vbCr vs. vbLf in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8389827#M82166</link>
    <description>&lt;P&gt;I didn't even think to check the actual official documentation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That about settles it! Glad it's the one that's faster to type that's still supported &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 20:08:11 GMT</pubDate>
    <dc:creator>DRoam</dc:creator>
    <dc:date>2018-11-08T20:08:11Z</dc:date>
    <item>
      <title>Line break: vbNewLine vs. vbCrLf vs. vbCr vs. vbLf</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387319#M82163</link>
      <description>&lt;P&gt;I have a vague understanding of what "Cr" (carriage return) and "Lf" (line feed) mean (or, at least, what people on internet forms think they mean)... what I'd like to know is, specifically in Inventor, is there any reason to use (or not use) any of them in particular?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm asking because I've always used vbnewline but seem to invariably type "vbnewlein" more than half the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In iLogic and Inventor's VBA specifically, is there any reason not to use the more succinct vbCrLf, or even vbLf or vbCr?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and I'm asking in regards to their use in MessageBoxes, strings, and even output to text files via, for example,&amp;nbsp;System.IO.File.WriteAllText.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 21:53:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387319#M82163</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2018-11-07T21:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Line break: vbNewLine vs. vbCrLf vs. vbCr vs. vbLf</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387341#M82164</link>
      <description>&lt;P&gt;Just answered part of my question with a quick test. While vbCrLf and vbNewLine (and also Environment.NewLine) result in a proper line break when exported to a text file with WriteAllText, vbLf and vbCr do not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it's down to vbNewLine and vbCrLf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, any reason not to use vbCrLf over vbNewLine?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:00:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387341#M82164</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2018-11-07T22:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Line break: vbNewLine vs. vbCrLf vs. vbCr vs. vbLf</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387420#M82165</link>
      <description>&lt;P&gt;&lt;SPAN&gt;From:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.constants.vbcrlf?view=netframework-4.7.2" target="_blank"&gt;https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.constants.vbcrlf?view=netframework-4.7.2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vbCrLf :&amp;nbsp; Represents a carriage-return character combined with a linefeed character for print and display functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also it states vbNewLine is now obsolete.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:42:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8387420#M82165</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-11-07T22:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line break: vbNewLine vs. vbCrLf vs. vbCr vs. vbLf</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8389827#M82166</link>
      <description>&lt;P&gt;I didn't even think to check the actual official documentation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That about settles it! Glad it's the one that's faster to type that's still supported &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 20:08:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/line-break-vbnewline-vs-vbcrlf-vs-vbcr-vs-vblf/m-p/8389827#M82166</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2018-11-08T20:08:11Z</dc:date>
    </item>
  </channel>
</rss>

