<?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: Do while loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153847#M890707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Taken from stackoverflow (these are standard programming tools which cover most languages)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A while loop will always evaluate the condition first.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;while (condition) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; //gets executed after condition is checked&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A do/while loop will always execute the code in the do{} block first and then evaluate the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;do {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; //gets executed at least once&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;} while (condition); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A for loop allows you to initiate a counter variable, a check condition, and a way to increment your counter all in one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for (int x = 0; x &amp;lt; 100; x++) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; //executed until x &amp;gt;= 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 06:45:56 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2016-08-23T06:45:56Z</dc:date>
    <item>
      <title>Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153845#M890705</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;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please let me know the difference between 'do while' and 'for' loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;-How 'Do while' loop different from 'FOR' loop?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-In what kind of requirements we use 'do while' loop instead of 'for' loop?&lt;/P&gt;&lt;P&gt;-Do we nest the do while loop in the for loop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153845#M890705</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153846#M890706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you expecting logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153846#M890706</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-23T06:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153847#M890707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Taken from stackoverflow (these are standard programming tools which cover most languages)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A while loop will always evaluate the condition first.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;while (condition) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; //gets executed after condition is checked&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A do/while loop will always execute the code in the do{} block first and then evaluate the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;do {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; //gets executed at least once&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;} while (condition); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A for loop allows you to initiate a counter variable, a check condition, and a way to increment your counter all in one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for (int x = 0; x &amp;lt; 100; x++) {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; //executed until x &amp;gt;= 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153847#M890707</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-08-23T06:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153848#M890708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suraj,&lt;/P&gt;&lt;P&gt;See this post &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script" title="https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script"&gt;https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153848#M890708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T06:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153849#M890709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌@Manuel- The blog doesn't talk about while loop.&lt;/P&gt;&lt;P&gt;@Adam- Thanks for the informatio. Is the SYNTAX of all loop types in other programming language is same in Qlikview?&lt;/P&gt;&lt;P&gt;If yes, could you point me to some video tutorial that cover all loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153849#M890709</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2016-08-23T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153850#M890710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seriously google is your friend here along with the qlikview reference manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Content/Home.htm" style="font-size: 10pt; line-height: 1.5em;" title="http://help.qlik.com/en-US/qlikview/12.0/Content/Home.htm"&gt;http://help.qlik.com/en-US/qlikview/12.0/Content/Home.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 07:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153850#M890710</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-08-23T07:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Do while loop</title>
      <link>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153851#M890711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 07:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-while-loop/m-p/1153851#M890711</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2016-08-23T07:41:09Z</dc:date>
    </item>
  </channel>
</rss>

