From: "Mike Davis" <[EMAIL PROTECTED]>
> On 22 Jul 2004 at 16:04, Ben Combee wrote:
> > At 03:47 PM 7/22/2004, you wrote:
> > >The problem fails at one instruction. I have a function call that
returns a
> > >double value to a variable declared by:
> > >
> > >double SecondFact;
(snip)
> > > Now, here is the original use of the statement that causes the
problem:
> > >SecondFact = (double) ParseBaseInt(dd, SecondFact, &baseErr);
> > >
> > >This statement causes a system reset.  dd, SecondFact and baseErr
> > >are defined properly and I have even removed that function all-together
> > >and I still have the same error, so the function, itself, isn't the
problem.
> >
> The best way I can describe this is the variable SecondFact can't be
> assigned a value, where it is located.  Other similar double type
> variables can.  Wierd!
>
If there's nothing wrong with the line in question and you're
getting a system reset it's time to start looking for stack
corruption or memory corruption of some sort.  You could
make SecondFact global and see if that alters the problem,
or declare another variable ahead of it.  Also try outputting
it's value immediately before the assignment to see what
happens.

Chris Tutty


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

Reply via email to