> > From: Mike McCollister [mailto:[EMAIL PROTECTED]]
> > Here is a strange thing that crashes my Palm:
> >   bigVal = i % NUM_THINGS;  // crashes here
> 
> What kind of crash is it?  The only thing I can think of would be a
> divide-by-zero, which would happen only if NUM_THINGS were zero when it
> shouldn't be.  Is that happening?

  actually :) i've seen it possible where that _divv3 function or
  so is not correctly linked to the application code :) however, 
  it all depends on what you are trying to do!

  i was writing code to go into a seperate segment, and then remove
  that code for external use (dont ask why) :P however, i was using
  % and / etc on UInt32's and, the linker put the _divv3 function
  and others into the code0000.bin segment (like it should - thats
  where the headers defined them to be)..

  it would cause some crashes :) took me a while, and some emails
  bouncing back and forth to John Marshall before i figured it out

  mike - what are you doing? :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


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

Reply via email to