<?xml  version="1.0" ?><html>
<head>
<title></title>
</head>
<body>
<div align="left"><font face="Courier New"><span style="font-size:10pt">On 23 Jul 2004 
at 12:12, Chris Tutty wrote:</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; From: &quot;Mike Davis&quot; &lt;[EMAIL 
PROTECTED]&gt;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; On 22 Jul 2004 at 16:04, Ben Combee 
wrote:</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; At 03:47 PM 7/22/2004, you 
wrote:</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;The problem fails at one instruction. I have 
a function call that</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; returns a</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;double value to a variable declared 
by:</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;double SecondFact;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; (snip)</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt; Now, here is the original use of the 
statement that causes the</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; problem:</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;SecondFact = (double) ParseBaseInt(dd, 
SecondFact, &amp;baseErr);</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;This statement causes a system reset.&#160; 
dd, SecondFact and baseErr</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;are defined properly and I have even removed 
that function all-together</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt; &gt;and I still have the same error, so the 
function, itself, isn't the</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; problem.</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; &gt;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; The best way I can describe this is the variable 
SecondFact can't be</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; assigned a value, where it is located.&#160; Other 
similar double type</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt; variables can.&#160; Wierd!</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; &gt;</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; If there's nothing wrong with the line in question and 
you're</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; getting a system reset it's time to start looking for 
stack</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; corruption or memory corruption of some sort.&#160; You 
could</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; make SecondFact global and see if that alters the 
problem,</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; or declare another variable ahead of it.&#160; Also try 
outputting</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; it's value immediately before the assignment to see 
what</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; happens.</span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Courier New" color="#7f0000"><span 
style="font-size:10pt">&gt; Chris Tutty</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Your Developer Forum 
posting was rejected because it appeared to contain </span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">an HTML 
attachment.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Attachments are not 
currently support by the Palm Developer Forum server.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Note that some email 
programs automatically add an HTML attachment to each</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">outgoing 
message.&#160; You can usually disable this feature in your email </span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">program's 
preferences.</span></font></div>
</body>
</html>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to