At 01:57 PM 12/12/2003, Brad Figler wrote:
>     UInt32 test = 1024 * 1024;
>
> means
>
>     UInt32 test = (UInt32)((Int16) 1024 * (Int16)1024);


Very interesting. The things you are not privy to when you grow up using microsoft products.

You would have known this is you used Microsoft VC++ 1.0 back in the 16-bit days :) I probably should have written


UInt32 test = (UInt32)((int) 1024 * (int)1024);

where int on Palm OS is a Int16.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to