Parsing headers (was: Re: constant afdregfp)
Parsing headers (was: Re: constant afdregfp)
- Subject: Parsing headers (was: Re: constant afdregfp)
- From: Mike Miller <email@hidden>
- Date: Tue, 10 Apr 2001 12:57:38 -0500
At 11:28 PM +1000 4/10/01, Sun Real wrote:
>
>...and Gestalt.h
>
>for "computer" (aka "system attribute" on Mac OS X). Enjoy!
>
>
It works on this file too - just uncomment either of the 2 lines noted -
>
though some of the more obviously handy codes don't make much sense to
>
me. My 'ascv' (AppleScript version) returns 17826112 for example. I'm
>
using AS Z1-1.4. My 'sysv' (system version) which is 9.0.4, returns
>
2308. Can anyone tell me how to interpret these?
I've got a script snippet with routines for going between different representations for versions. It's called "Version Converter" and you can get it from:
http://www.esglabs.com/snippets/
For more about Gestalt and responses:
http://developer.apple.com/techpubs/mac/OSUtilities/OSUtilities-11.html
Enjoy,
Mike Miller
ESG Labs
http://www.esglabs.com/