<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[A comparaison beetween 2 int]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a weird behaviour of my program.<br />
It happend when a try to compare 2 integers in WHILE LOOP<br />
@<br />
int ratio = tempSheet-&gt;lastRow();  (ratio = 55)<br />
int remain = ratio/100;   (remain =0)<br />
int j=0;<br />
while(j&lt;remain)   &lt;---- it stops here<br />
@</p>
<p dir="auto">The same problem happens in Debug an Release Mode.<br />
It blocks when comparing 2 integers.</p>
<p dir="auto">In debug Mode, with a breakPoint in  while(j&lt;remain) :</p>
<p dir="auto">I have (Internal error: pc 0x201 in read in psymtab, but not in symtab.)</p>
<p dir="auto">It happens exactly before executing the loop While.</p>
<p dir="auto">I checked the value of j and remain, there are both 0.</p>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thanks in Advance</p>
<p dir="auto">[code tags added, please use @ tags around your code, Eddy]</p>
]]></description><link>https://forum.qt.io/topic/25414/a-comparaison-beetween-2-int</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 22:25:29 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/25414.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Mar 2013 13:59:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A comparaison beetween 2 int on Thu, 21 Mar 2013 14:25:36 GMT]]></title><description><![CDATA[<p dir="auto">Please wrap your code in '@' tags.</p>
<p dir="auto">You are aware that this loop will not execute anyway (0 is not less than 0)? Otherwise, the code is OK.</p>
]]></description><link>https://forum.qt.io/post/171000</link><guid isPermaLink="true">https://forum.qt.io/post/171000</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Thu, 21 Mar 2013 14:25:36 GMT</pubDate></item></channel></rss>