Gestalt Identifies for X
Gestalt Identifies for X
- Subject: Gestalt Identifies for X
- From: Gary Lists <email@hidden>
- Date: Sat, 05 Jul 2003 17:24:07 -0400
Hello all.
Could one of you gen-osXers provide me with the value returned from
-- script code
system attribute "sysv"
-- end
for the first X release (the minimal number that I need to test for to
evaluate whether I am in X-land)? [1] I did search but didn't find this
specific reference.
Or tell me that I should not (can not) use that method to find the OS
version for X. If the latter is the case, what should I be using as an
alternative?
I would like a method that accommodated AS 1.6 and upward, and that would be
cross-OS (what do you now call this within the Mac world? xos? crossos?
crossmos?)
OMM:
AS 1.8.3 (17826178) [1]
OS 9.1 (2320)
Thanks,
--
Gary
MacOS 9.1 / "9 is Fine"
[1] Does "ascv" return values in binary-encoded decimal but the "sysv"
returns in some other base? Binary encoded decimal that has non-binary
digits (01100183)? See [2].
[2] I am aware of this inaccuracy, in that this value really points to AS
1.8.2. The correct value for 1.8.3 should have been 17826179, which is the
"integer equivalent of the binary-coded decimal version number 01100183".
Source:
ASSB at <applescriptsourcebook.com/applescript/applescript183.html>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.