> I just wanted to share a hard to discover bug with other newcomers just
> so they stay aware... It makes sense that on the Palm, ints are 16-bit, 
> not 32-bit.

  dont assume *anything* when dealing with C..

  if you want a 32bit integer.. declare your number by adding the "L"
  suffix to it.. it will ensure it is a long.

  ie:    32768L = 32 bit version of 32768

  look at any standard C programming reference.. it should be stated 
  somewhere :))

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!
+46 70 656 1143


-- 
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