Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!apple!applelink.apple.com!MAC.ROMOS From: MAC.ROMOS@applelink.apple.com (Ian Hendry) Newsgroups: comp.sys.mac.programmer Subject: Re: SysEnvirons and systemVersion Message-ID: <1825@internal.Apple.COM> Date: 12 May 89 17:09:31 GMT Sender: usenet@Apple.COM Organization: Yeah, I'm organized. Lines: 23 References:<5692@microsoft.UUCP> <13443@dartvax.Dartmouth.EDU> In article <13443@dartvax.Dartmouth.EDU> earleh@eleazar.dartmouth.edu (Earle R. Horton) writes: > >For example, systemVersion returns 1538 when run on a release 6.0.2... > > Note that 1538 is equivalent to hex $0602. The major release > number is in the high byte, and the minor subrelease number is in the > low byte. Not quite. As I understand the major is the high byte, the minor the high nibble of the low byte and the revision number is the low nibble of the low byte. That is, $0614 is the version "6.1.4", NOT "6.20" ($14 == 20). Have fun, Ian Hendry MAC.ROMOS@applelink.apple.com Make sure my name is in the subject of any Email, or post replies to network. TE: 408-974-4737 Disclaimer: It was all HIS idea anyway! Nothing I say reflects anything my employer means... or anything I mean for that matter.