<?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: How to externalize repeating script pieces in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-externalize-repeating-script-pieces/m-p/606391#M1104922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Sub routines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub MySub(Param1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// do stuff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call MySub(Hello);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also put script code in text files and use include statements to include the code from a script file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(include=C:\MyScripts\Connections.qvs);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 10:42:55 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-03-21T10:42:55Z</dc:date>
    <item>
      <title>How to externalize repeating script pieces</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-externalize-repeating-script-pieces/m-p/606390#M1104921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it is possible in qv to write repating pieces of a script only once and use them when neccessary by calling those pieces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like the 'call' command in VBA or 'go sub' in basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-externalize-repeating-script-pieces/m-p/606390#M1104921</guid>
      <dc:creator />
      <dc:date>2014-03-21T10:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to externalize repeating script pieces</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-externalize-repeating-script-pieces/m-p/606391#M1104922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Sub routines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub MySub(Param1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// do stuff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call MySub(Hello);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also put script code in text files and use include statements to include the code from a script file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(include=C:\MyScripts\Connections.qvs);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-externalize-repeating-script-pieces/m-p/606391#M1104922</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-21T10:42:55Z</dc:date>
    </item>
  </channel>
</rss>

