Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!spool.mu.edu!caen!mondo.engin.umich.edu!davids From: davids@mondo.engin.umich.edu (David Snearline) Newsgroups: comp.sys.mac.programmer Subject: Re: Testing for System 7 Message-ID: Date: 29 Jun 91 03:37:53 GMT References: <1991Jun27.125511.19565@runx.oz.au> <54449@apple.Apple.COM> Sender: davids@mondo.engin.umich.edu Distribution: na Organization: University of Michigan Engineering Lines: 23 In article <54449@apple.Apple.COM> nerm@Apple.COM (Dean Yu) writes: >In article <1991Jun27.125511.19565@runx.oz.au> mrd@runx.oz.au (Malcolm Davidson) writes: >>How do I test for the presence of system 7? I dont have access to >>IM VI as yet. >> > > Oh boy, oh boy, I get to use a party line. You should never assume the >presence of a feature based on the version number of system software. You >should check for the presence of each feature specifically by using the _Gestalt >function. > > -- Dean Yu > Blue Meanie, Negative Ethnic Role Model, Window Cleaner, etc. > Apple Computer, Inc. > blah blah blah blah... Except that you would have to check the version of the system to see if _Gestalt exists... :-) -- David Snearline davids@mondo.engin.umich.edu University of Michigan Engineering