Re: Various Qs about Intel and AppleScript
Re: Various Qs about Intel and AppleScript
- Subject: Re: Various Qs about Intel and AppleScript
- From: Christopher Nebel <email@hidden>
- Date: Wed, 11 Jan 2006 12:34:12 -0800
On Jan 11, 2006, at 5:15 AM, jj wrote:
Will little-endian vs. big-endian affect AS code?
For example, if I compile an alias reference in a PowerPC machine,
will it
fail in the Intel one?
Or should I write/read Unicode text being aware of endian differences?
In general, it Just Works™ -- scripts, compiled or otherwise, will
work between Intel and PowerPC systems. It's possible to write code
that won't work correctly, but you have to work at it -- something
like doing your own byte-to-word transforms.
To answer the particular question of "read" and "write", they always
read and write big-endian data -- we made it that way so existing
data files would work on Intel systems. You don't have to do
anything special.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden