<?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 call subroutine within a subroutine in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/call-subroutine-within-a-subroutine/m-p/163760#M36717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a subroutine which attempts to call another subroutine within it.&lt;/P&gt;&lt;P&gt;I have placed both subroutines in an $(Include=$(gc_ScriptDir) at the start of a load in an .qvw&lt;/P&gt;&lt;P&gt;and have ensured that the target subroutine being called precedes the one doing the 'calling'&lt;/P&gt;&lt;P&gt;E.g,&lt;/P&gt;&lt;P&gt;sub xyz (paramA, paramB)&lt;/P&gt;&lt;P&gt;trace blah blah;&lt;/P&gt;&lt;P&gt;end sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub abc (param1, param2)&lt;/P&gt;&lt;P&gt;call xyz (paramA, paramB);&lt;/P&gt;&lt;P&gt;end sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately in the debugger when I 'step' into subroutine abc, the debugger freezes and a 'script finished' message is displayed in the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this because it isn't possible to call a subroutine within another subroutine or am I missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 12:18:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-17T12:18:16Z</dc:date>
    <item>
      <title>call subroutine within a subroutine</title>
      <link>https://community.qlik.com/t5/QlikView/call-subroutine-within-a-subroutine/m-p/163760#M36717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a subroutine which attempts to call another subroutine within it.&lt;/P&gt;&lt;P&gt;I have placed both subroutines in an $(Include=$(gc_ScriptDir) at the start of a load in an .qvw&lt;/P&gt;&lt;P&gt;and have ensured that the target subroutine being called precedes the one doing the 'calling'&lt;/P&gt;&lt;P&gt;E.g,&lt;/P&gt;&lt;P&gt;sub xyz (paramA, paramB)&lt;/P&gt;&lt;P&gt;trace blah blah;&lt;/P&gt;&lt;P&gt;end sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub abc (param1, param2)&lt;/P&gt;&lt;P&gt;call xyz (paramA, paramB);&lt;/P&gt;&lt;P&gt;end sub;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately in the debugger when I 'step' into subroutine abc, the debugger freezes and a 'script finished' message is displayed in the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this because it isn't possible to call a subroutine within another subroutine or am I missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 12:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/call-subroutine-within-a-subroutine/m-p/163760#M36717</guid>
      <dc:creator />
      <dc:date>2010-08-17T12:18:16Z</dc:date>
    </item>
  </channel>
</rss>

