<?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: syntax rules for adding a comment in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830748#M35598</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/133482"&gt;@lioradam&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have trouble with adding comments by using an asterisk at the beginning and at the end of the comment.&lt;/P&gt;
&lt;P&gt;before the comment, I enter /* and after the comment, I enter */.&amp;nbsp; Most of the time, it works fine, however, sometimes it doesn't work (I enter */ at the end of the comment and the following code is still colored in green).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone had this trouble and know how to fix it?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Lior&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Coloring is some feature of the editor you are using, not the SAS language itself.&amp;nbsp; The editor does not really know the impact of all of the various SAS syntaxes, especially if you are using macro code at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To tell if your comments are entered correctly you need to run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Block comments start with /* and end with */ and &lt;STRONG&gt;cannot be nested&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Statement comments start with * and end with a semi-colon (just like any other SAS statement).&lt;/P&gt;
&lt;P&gt;Macro statement comments start with %* and end with a semi-colon (just like any other macro statement).&lt;/P&gt;</description>
    <pubDate>Sat, 27 Aug 2022 17:13:45 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-08-27T17:13:45Z</dc:date>
    <item>
      <title>syntax rules for adding a comment</title>
      <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830747#M35597</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have trouble with adding comments by using an asterisk at the beginning and at the end of the comment.&lt;/P&gt;&lt;P&gt;before the comment, I enter /* and after the comment, I enter */.&amp;nbsp; Most of the time, it works fine, however, sometimes it doesn't work (I enter */ at the end of the comment and the following code is still colored in green).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone had this trouble and know how to fix it?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Lior&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 16:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830747#M35597</guid>
      <dc:creator>lioradam</dc:creator>
      <dc:date>2022-08-27T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: syntax rules for adding a comment</title>
      <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830748#M35598</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/133482"&gt;@lioradam&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have trouble with adding comments by using an asterisk at the beginning and at the end of the comment.&lt;/P&gt;
&lt;P&gt;before the comment, I enter /* and after the comment, I enter */.&amp;nbsp; Most of the time, it works fine, however, sometimes it doesn't work (I enter */ at the end of the comment and the following code is still colored in green).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone had this trouble and know how to fix it?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Lior&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Coloring is some feature of the editor you are using, not the SAS language itself.&amp;nbsp; The editor does not really know the impact of all of the various SAS syntaxes, especially if you are using macro code at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To tell if your comments are entered correctly you need to run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Block comments start with /* and end with */ and &lt;STRONG&gt;cannot be nested&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Statement comments start with * and end with a semi-colon (just like any other SAS statement).&lt;/P&gt;
&lt;P&gt;Macro statement comments start with %* and end with a semi-colon (just like any other macro statement).&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 17:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830748#M35598</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-08-27T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: syntax rules for adding a comment</title>
      <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830749#M35599</link>
      <description>&lt;P&gt;If your editor has the coloring wrong, you can often fix it with a * comment, e.g.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* fix syntax coloring ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Aug 2022 17:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830749#M35599</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-08-27T17:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: syntax rules for adding a comment</title>
      <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830750#M35600</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Lior&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 17:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/830750#M35600</guid>
      <dc:creator>lioradam</dc:creator>
      <dc:date>2022-08-27T17:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: syntax rules for adding a comment</title>
      <link>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/832616#M35701</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 10:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/syntax-rules-for-adding-a-comment/m-p/832616#M35701</guid>
      <dc:creator>lioradam</dc:creator>
      <dc:date>2022-09-10T10:41:11Z</dc:date>
    </item>
  </channel>
</rss>

