• 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
Various Qs about Intel and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Various Qs about Intel and AppleScript


  • Subject: Various Qs about Intel and AppleScript
  • From: jj <email@hidden>
  • Date: Wed, 11 Jan 2006 14:15:21 +0100
  • Thread-topic: Various Qs about Intel and AppleScript

Hi all!

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?

Eg:

###################
if (intel) then swapBytesOfUnicodeTextFileToRead()

read blah as Unicode text
###################

That is: will be changes in the compiler? Eg, if I compile number 254 in
PowerPC, it will compile as 0xFE; while the Intel machine will read 0xEF:
239 (???) This would break PowerPC-compiled-AS running in a Intel box.

About the rest of resources (eg, scripting additions), will be authors
responsible of handling such things? (eg, how will behave later "read" and
"write" in Standard Additions, when read-writing Unicode text?)

Etc, etc, etc.


jj

* It's only that I'm working in a bunch of extense projects (yet Universal
binaries) and I would implement rare things better now than later...
[paranoid]

--
http://www.macscripter.net/
http://www.osaxen.com/


 _______________________________________________
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: Christopher Nebel <email@hidden>
    • Re: Various Qs about Intel and AppleScript
      • From: "Douglas P. McNutt" <email@hidden>
  • Prev by Date: Re: [revisited] similar strings
  • Next by Date: Re: Testing for last process used
  • Previous by thread: Re: Server login
  • Next by thread: Re: Various Qs about Intel and AppleScript
  • Index(es):
    • Date
    • Thread