>Subject: Re: passing char* data >From: "Richard M. Hartman" <[EMAIL PROTECTED]> >> OK John. Glad they fixed the definitions. >> A loooong time ago I worked on a system where 'int' was >> 8 bits, and both 'short' and 'long' were 16 bits. Got caught out >> pretty badly until I realized how small the 'int' was! >> That kind of experience can sear things into your brain. > >"int" was 8 bits & "short" was 16 bits? That sounds more like >a compiler bug than anything else. > >what system (& what compiler) was that?
No, not a compiler bug just a weird system. It was a loooong time ago, but I'm sure it was a 8-bit processor of some kind where 8 bit counters were the fastest, hence the choice of 8bits for 'int' Not too relevant to Palm Development, so I apologise for this wholely irrelevant thread. 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/
