Re: Various Qs about Intel and AppleScript
Re: Various Qs about Intel and AppleScript
- Subject: Re: Various Qs about Intel and AppleScript
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 02 Feb 2006 12:35:11 -0800
- Thread-topic: Various Qs about Intel and AppleScript
On 1/11/06 12:34 PM, "Christopher Nebel" <email@hidden> 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.
Chris, will everything also be OK with such constructs as 'write as date',
'read as date' an the other "self-defining" formats (as record, as list), at
least as long as the same computer does the reading and writing?
--
Paul Berkowitz
_______________________________________________
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