Okay, I found a logic problem as well.  This is weird because I remember
doing this in C and it worked.

ex:

UInt x = 2;
UInt y = 4;
UInt z;

z = x - y;

Now it would be a -2 except for the fact it's an Unsigned Integer.... thus
it should be 2.  What I get from my application is 65534, which is roughly
the maximum value of an int type... am I correct?

How come it isn't a 2?

--

Tim Astle



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to