-----Original Message-----
From: Max Bian [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 January 2002 3:45 PM
To: Palm Developer Forum
Subject: RE: Palm and ARM (Was: PL/I for Palm ?)


> If we only use creator ID and type as UInt32, it should be portable.  Some
> people get use to the the way like 'myCR' because it is easy to use and it
> happen to look like a string ordered in the same way as big endian order
on
> m68k.

It shouldn't be any problem with 'myCR' if it is treated according to
current architecture. In other words,

        if (CreatorID == 'myCR') 

presumably will be always OK, while 

        if (CreatorID > 'myCR')

will by OK if first char ('m') goes to MSB, or bad if it goes to LSB.

On the contrary a code like WinDrawChars(&CreatorID, 4, x, y) 
is protable if first char goes to LSB.

M.



I 


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