<?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: set and let in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865522#M1015964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A very simple example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create two variables in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET x = 2 + 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET y = 2 + 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the front end, &lt;/P&gt;&lt;P&gt;x will be equal to '2+3' and y will be equal to 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 09:34:52 GMT</pubDate>
    <dc:creator>Agis-Kalogiannis</dc:creator>
    <dc:date>2015-04-20T09:34:52Z</dc:date>
    <item>
      <title>set and let</title>
      <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865519#M1015961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference between set and let?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 08:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865519#M1015961</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2015-04-20T08:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: set and let</title>
      <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865520#M1015962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both assign values to variables in the script - SET assigns the value to the variable without evaluation, as a string, whereas LET first evaluates the expression on the right of the equals sign, then stores it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a good explanation of it here (see the correct answer) by Miguel: &lt;A href="https://community.qlik.com/message/93251"&gt;Re: $(#variable) when variable is NULL: general script error, why?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 09:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865520#M1015962</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-04-20T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: set and let</title>
      <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865521#M1015963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set: Creates a variable with a defined string or number, ie: SET vPath = ".\AuxDocs";&lt;/P&gt;&lt;P&gt;Let: Defines a variable that can be evaluated, ie: LET vFile = vPath &amp;amp; '\file.txt'; --&amp;gt; vFile will store .\AuxDocs\file.txt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 09:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865521#M1015963</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-04-20T09:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: set and let</title>
      <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865522#M1015964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A very simple example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create two variables in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET x = 2 + 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET y = 2 + 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the front end, &lt;/P&gt;&lt;P&gt;x will be equal to '2+3' and y will be equal to 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 09:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865522#M1015964</guid>
      <dc:creator>Agis-Kalogiannis</dc:creator>
      <dc:date>2015-04-20T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: set and let</title>
      <link>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865523#M1015965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET give a value of a String to a variable, i.e:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set variable = 3*2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable = '3*2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and LET evaluates the expresión on the right of equals sign, i.e:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET variable = 3*2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable = 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 22:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-and-let/m-p/865523#M1015965</guid>
      <dc:creator>ger_alegria</dc:creator>
      <dc:date>2015-07-13T22:32:18Z</dc:date>
    </item>
  </channel>
</rss>

