• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Various Qs about Intel and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Various Qs about Intel and AppleScript
      • From: jj <email@hidden>
References: 
 >Various Qs about Intel and AppleScript (From: jj <email@hidden>)

  • Prev by Date: Re: desktop picture
  • Next by Date: Re: Various Qs about Intel and AppleScript
  • Previous by thread: Re: Various Qs about Intel and AppleScript
  • Next by thread: Re: Various Qs about Intel and AppleScript
  • Index(es):
    • Date
    • Thread