<?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: Modify EG formating for SAS code in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241549#M17303</link>
    <description>The best way is avoid the formatting in EG and you could simply write and apply no formatting</description>
    <pubDate>Sun, 03 Jan 2016 13:39:06 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2016-01-03T13:39:06Z</dc:date>
    <item>
      <title>Modify EG formating for SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241520#M17300</link>
      <description>&lt;P&gt;Can I modify EG so that formatting SAS code doesn't tab "If Then" statements to a seperate lines?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2016 01:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241520#M17300</guid>
      <dc:creator>td1234</dc:creator>
      <dc:date>2016-01-03T01:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modify EG formating for SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241541#M17301</link>
      <description>Is the query related to indentation in EG</description>
      <pubDate>Sun, 03 Jan 2016 07:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241541#M17301</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-01-03T07:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify EG formating for SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241548#M17302</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to EG.&amp;nbsp; When&amp;nbsp; I run the EG code formating procedure, SAS indents the if statement to a seperate line.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want this:&lt;/P&gt;
&lt;P&gt;if x=0 then y=1; else&lt;/P&gt;
&lt;P&gt;x &amp;gt;0 then y=2; else&lt;/P&gt;
&lt;P&gt;x&amp;lt;0 then y=3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I get is something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if x=0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=1; &lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;x &amp;gt;0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=2;&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;x&amp;lt;0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241548#M17302</guid>
      <dc:creator>td1234</dc:creator>
      <dc:date>2016-01-03T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modify EG formating for SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241549#M17303</link>
      <description>The best way is avoid the formatting in EG and you could simply write and apply no formatting</description>
      <pubDate>Sun, 03 Jan 2016 13:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241549#M17303</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-01-03T13:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modify EG formating for SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241551#M17304</link>
      <description>&lt;P&gt;Could it have something to do with the code being incorrect?&lt;/P&gt;
&lt;P&gt;What is with the extra THEN keywords?&lt;/P&gt;
&lt;P&gt;I assume you meant something like this.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if x=0 then y=1; 
else if x&amp;gt;0 then y=2; 
else if x&amp;lt;0 then y=3;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Personally I would not use your style becuase it is placing&amp;nbsp;key information (the ELSE keyword) at the end of the line instead of the beginning of the line. This makes it very difficult to quickly scan the code. The beginning of the lines will be alligned, but the ends of the lines will be ragged.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Modify-EG-formating-for-SAS-code/m-p/241551#M17304</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-01-03T14:05:14Z</dc:date>
    </item>
  </channel>
</rss>

