Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!earleh From: earleh@eleazar.dartmouth.edu (Earle R. Horton) Newsgroups: comp.sys.mac.programmer Subject: Re: SysEnvirons and systemVersion Message-ID: <13443@dartvax.Dartmouth.EDU> Date: 11 May 89 16:23:14 GMT References: <5692@microsoft.UUCP> Sender: news@dartvax.Dartmouth.EDU Reply-To: earleh@eleazar.dartmouth.edu (Earle R. Horton) Organization: Thayer School of Engineering Lines: 23 In article <5692@microsoft.UUCP> stuartb@microsoft.UUCP (Stuart Burden) writes: >I have a quick question to do with the SysEnvirons function and how to >interpret the system version from it. > >I can get all the information from SysEnvirons I need, except an explicit >system version number. What I get returned is an integer. What I need to >know, is how do I relate this to a particular version of the system. > >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. >As an aside to this, how does one determine the finder version also? This information is in the 'vers' resource of the Finder resource file. You can't access it if the Finder is open, i.e. running at the same time as your application under MultiFinder. This is because the Finder resource file is already open in the Finder partition. "People forget how fast you did a job, but they remember how well you did it." Salada Tag Lines