Re: Various Qs about Intel and AppleScript
Re: Various Qs about Intel and AppleScript
- Subject: Re: Various Qs about Intel and AppleScript
- From: Emmanuel <email@hidden>
- Date: Fri, 3 Feb 2006 23:16:41 +0100
At 12:34 PM -0800 1/11/06, Christopher Nebel wrote:
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.
I would second Christopher's optimism, except for osax maybe I think
- apologies if this has been said already. Intel-native software
can't use a Rosetta-only osax (even while Script Editor gracefully
displays the dictionary.)
Emmanuel
_______________________________________________
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