Re: Parsing headers (was: Re: constant afdregfp)
Re: Parsing headers (was: Re: constant afdregfp)
- Subject: Re: Parsing headers (was: Re: constant afdregfp)
- From: Christopher Nebel <email@hidden>
- Date: Tue, 10 Apr 2001 11:49:55 -0700
On Tuesday, April 10, 2001, at 09:24 AM, Emmanuel wrote:
At 15:28 +0200 10/04/01, Sun Real wrote:
My 'sysv' (system version) which is 9.0.4, returns
2308. Can anyone tell me how to interpret these?
Hey, I know this one. Turn the (supposedly decimal) "2308" into hexa:
0904
Do it also for the AS version: "17826112" gives 0110 0140 (don't ask me
what "0110" stands for).
The second half is the version of AppleScript you're using (i.e. 1.4.0);
the first half is the oldest version it's file-compatible with (i.e.
1.1). Version numbers from Gestalt are usually in hexadecimal; feature
flags are usually encoded in particular bits, which you can test using
the "has" parameter to "computer".
--Chris Nebel
AppleScript Engineering