<?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 Can anyone please educate me how Sub function works with a practical example? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-anyone-please-educate-me-how-Sub-function-works-with-a/m-p/1270963#M622598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please educate me how Sub function works with a practical example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the text in Help but would like to know some more practical examples and real world use cases. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2017 16:48:02 GMT</pubDate>
    <dc:creator>jblomqvist</dc:creator>
    <dc:date>2017-01-04T16:48:02Z</dc:date>
    <item>
      <title>Can anyone please educate me how Sub function works with a practical example?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anyone-please-educate-me-how-Sub-function-works-with-a/m-p/1270963#M622598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please educate me how Sub function works with a practical example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the text in Help but would like to know some more practical examples and real world use cases. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 16:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anyone-please-educate-me-how-Sub-function-works-with-a/m-p/1270963#M622598</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2017-01-04T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please educate me how Sub function works with a practical example?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-anyone-please-educate-me-how-Sub-function-works-with-a/m-p/1270964#M622599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find an example here: &lt;A href="https://community.qlik.com/thread/62449"&gt;loop through to load all files from a folder and its subfolders?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In that example the code to recursively scans a folder and every subfolder is put in a sub. That allows the sub to be called with an initial root folder name and it will then recursively call itself with each subfolder as parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the main use of subs: put code that you want to use multiple times in a script in a sub so you need only call the sub with the proper parameters instead of writing the same code over and over again in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 17:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-anyone-please-educate-me-how-Sub-function-works-with-a/m-p/1270964#M622599</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-01-04T17:27:33Z</dc:date>
    </item>
  </channel>
</rss>

