<?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: Calling Macro Variables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705095#M26230</link>
    <description>&lt;P&gt;You only need to period if the next character in your program could be part of the macro variable name.&amp;nbsp; Valid characters for names are letters, digits and underscore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 15:28:28 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-12-10T15:28:28Z</dc:date>
    <item>
      <title>Calling Macro Variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705092#M26228</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not understand all the ways to correctly call Macro variables. Is there a guide of when you need to put a period after the &amp;amp;Macro and when you do not? I am thinking in both the context of quoted strings like a Title statement or in naming a data set in a data step.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705092#M26228</guid>
      <dc:creator>hspears</dc:creator>
      <dc:date>2020-12-10T15:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Macro Variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705093#M26229</link>
      <description>&lt;P&gt;A period is required to end the name of a macro variable, usually when appending text to the value of the macro variable. No period is required if there is a separator (like a space or other character that cannot be in a macro variable name).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So no period is required here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;x = &amp;amp;macrovarname+7;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but it's also not wrong to put a period here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A period is required here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;x = &amp;amp;macrovarname.2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;so the 2 is appended to the value of &amp;amp;macrovarname.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:29:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705093#M26229</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-10T15:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Macro Variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705095#M26230</link>
      <description>&lt;P&gt;You only need to period if the next character in your program could be part of the macro variable name.&amp;nbsp; Valid characters for names are letters, digits and underscore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705095#M26230</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-12-10T15:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Macro Variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705097#M26231</link>
      <description>&lt;P&gt;See Maxim 48. It's never wrong to have the dot, but sometimes very wrong to not have it.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calling-Macro-Variables/m-p/705097#M26231</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-10T15:30:15Z</dc:date>
    </item>
  </channel>
</rss>

