<?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 Global symbol table and llocal symbol table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311547#M312893</link>
    <description>&lt;P&gt;%let Mv=shoes;&lt;BR /&gt;%macro PRODUCT(Mv=bicycles);&lt;BR /&gt;%let Mv=clothes;&lt;BR /&gt;%mend;&lt;BR /&gt;%PRODUCT(Mv=tents)&lt;BR /&gt;%put Mv is &amp;amp;Mv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the value o MV is shoes?? Please explain&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 22:16:25 GMT</pubDate>
    <dc:creator>UPEN</dc:creator>
    <dc:date>2016-11-14T22:16:25Z</dc:date>
    <item>
      <title>Global symbol table and llocal symbol table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311547#M312893</link>
      <description>&lt;P&gt;%let Mv=shoes;&lt;BR /&gt;%macro PRODUCT(Mv=bicycles);&lt;BR /&gt;%let Mv=clothes;&lt;BR /&gt;%mend;&lt;BR /&gt;%PRODUCT(Mv=tents)&lt;BR /&gt;%put Mv is &amp;amp;Mv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the value o MV is shoes?? Please explain&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311547#M312893</guid>
      <dc:creator>UPEN</dc:creator>
      <dc:date>2016-11-14T22:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Global symbol table and llocal symbol table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311551#M312894</link>
      <description>&lt;P&gt;Because you have both global and local variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the macro is finished when you request a PUT it uses the global version - which is the first assignment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311551#M312894</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-14T22:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Global symbol table and llocal symbol table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311590#M312895</link>
      <description>&lt;P&gt;Yeah. The local symbol table would be destroied after running the macro.&lt;/P&gt;
&lt;P&gt;So you only get the global symbol value.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 02:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Global-symbol-table-and-llocal-symbol-table/m-p/311590#M312895</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-11-15T02:34:25Z</dc:date>
    </item>
  </channel>
</rss>

