Various Qs about Intel and AppleScript
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