<?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 Sub Routines and Scope of Include Files in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sub-Routines-and-Scope-of-Include-Files/m-p/1583843#M42686</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a question about the scope of an include file. The reason i ask for is, that in the QlikSense Main Script i include a File named "Init_A.qvs". Inside this script sub routines and serveral includes will be done. Within "Init_A" i can use the routines, no problem here.&lt;/P&gt;&lt;P&gt;Next include in Main is "Init_B.qvs". Here the routines loaded before can not be used. Even in Main they're cannot be used. I have to reload/include the routine scripts in "Init_B" again to make them work.&lt;/P&gt;&lt;P&gt;Now, does anyone know why this happens and/or have a useful source to an script scope explaination?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment will show a picture of the project structure i explained above.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:48:39 GMT</pubDate>
    <dc:creator>Tos</dc:creator>
    <dc:date>2024-11-16T20:48:39Z</dc:date>
    <item>
      <title>Sub Routines and Scope of Include Files</title>
      <link>https://community.qlik.com/t5/App-Development/Sub-Routines-and-Scope-of-Include-Files/m-p/1583843#M42686</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a question about the scope of an include file. The reason i ask for is, that in the QlikSense Main Script i include a File named "Init_A.qvs". Inside this script sub routines and serveral includes will be done. Within "Init_A" i can use the routines, no problem here.&lt;/P&gt;&lt;P&gt;Next include in Main is "Init_B.qvs". Here the routines loaded before can not be used. Even in Main they're cannot be used. I have to reload/include the routine scripts in "Init_B" again to make them work.&lt;/P&gt;&lt;P&gt;Now, does anyone know why this happens and/or have a useful source to an script scope explaination?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment will show a picture of the project structure i explained above.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sub-Routines-and-Scope-of-Include-Files/m-p/1583843#M42686</guid>
      <dc:creator>Tos</dc:creator>
      <dc:date>2024-11-16T20:48:39Z</dc:date>
    </item>
  </channel>
</rss>

