<?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 Understanding of macro quotes and ampersand in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239482#M44068</link>
    <description>&lt;P&gt;I've difficulties in understanding of using single quotes and double quotes in a macro. Also I would like to know usage of single&amp;nbsp;ampersand and double&amp;nbsp;ampersand as well. Ideally I wish to know the occasions where we tend to use&amp;nbsp;&lt;SPAN&gt;double&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ampersand and&amp;nbsp;single quotes and double quotes in a macro.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If someone can expalin it in simple terms I would be really grateful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 07:33:24 GMT</pubDate>
    <dc:creator>Babloo</dc:creator>
    <dc:date>2015-12-16T07:33:24Z</dc:date>
    <item>
      <title>Understanding of macro quotes and ampersand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239482#M44068</link>
      <description>&lt;P&gt;I've difficulties in understanding of using single quotes and double quotes in a macro. Also I would like to know usage of single&amp;nbsp;ampersand and double&amp;nbsp;ampersand as well. Ideally I wish to know the occasions where we tend to use&amp;nbsp;&lt;SPAN&gt;double&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ampersand and&amp;nbsp;single quotes and double quotes in a macro.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If someone can expalin it in simple terms I would be really grateful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239482#M44068</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-12-16T07:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding of macro quotes and ampersand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239483#M44069</link>
      <description>&lt;P&gt;These are the most basic features of SAS macro. There are tons of papers, documentation&amp;nbsp;and samples.&lt;/P&gt;
&lt;P&gt;If you wish to develop macro programming&amp;nbsp;skill, consider to take some training.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In short, everything between single quotes&amp;nbsp;is unaffected&amp;nbsp;by macro logic - no symbolic substitution&amp;nbsp;will take place.&lt;/P&gt;
&lt;P&gt;Between double quotes, substitution can take place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double ampersand&amp;nbsp;can be used if you wish to nestle macro variable names in each other - in other words, store dynamically a macro variable&amp;nbsp;name in another macro variable, and then wish to substitute&amp;nbsp;to the original macro variable value.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239483#M44069</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-16T07:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding of macro quotes and ampersand</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239494#M44071</link>
      <description>&lt;P&gt;LinusH has kindly provided an explanation. &amp;nbsp;I would like to add that in my opinion if you are finding you have more than one &amp;amp; or % in a line of code then there is almost always a better way of doing things. &amp;nbsp;Simply restructuring your data, coding differently, or using functions removes the need for all lof it. &amp;nbsp;Remember easy to read code is maintable by other people.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:28:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-of-macro-quotes-and-ampersand/m-p/239494#M44071</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-16T10:28:25Z</dc:date>
    </item>
  </channel>
</rss>

