>  <SNIP>
>Those defined using Int16 will definately be 16 bits.  (Of course, 
>the same could also be ensured by using "short" instead of "int" ...)
>Richard M. Hartman
>[EMAIL PROTECTED]

Nope.   The only size requirement is   sizeof(short) <= sizeof(long)
There's no set size for 'short', 'int' or 'long'

And there's no gaurentee of sizeof(short) <= sizeof(int) 
        or of  sizeof(int) <= sizeof(long)

In theory 'int' could be larger than 'long' or smaller than 'short', though
all processors you are currently likely to run into seem to have
        sizeof(short) <= sizeof(int)  <= sizeof(long)

Roger Stringer
Marietta Systems, Inc.


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

Reply via email to