Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!marc From: marc@Apple.COM (Mark Dawson) Newsgroups: comp.sys.mac.programmer Subject: Re: SysEnvirons versus Gestalt Message-ID: <49284@apple.Apple.COM> Date: 17 Feb 91 20:17:28 GMT References: <28811@cs.yale.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 27 In article <28811@cs.yale.edu> tarr-michael@CS.YALE.EDU (michael tarr) writes: > >I wrote a small test program to check the machine number of various >machines. On my MacIIcx the Gestalt call (under 6.0.7) returns 8 while >the SysEnvirons record has a 6 in the MachineType field. Any clues? >-- Yes, for some (I don't know why) reason, gestalt machine #s are 2 greater than their sysEnvirons brethren. ... And to kill to birds w/one stone, here are the IIci and above values Machine SysEnvirons# Gestalt# SE30 7 9 Portable 8 10 IIci 9 11 IIfx 11 13 Classic 15 17 IIsi 16 18 LC 17 19 Mark -- --------------------------------- Mark Dawson Service Diagnostic Engineering AppleLink: Dawson.M Apple says what it says; I say what I say. We're different ---------------------------------