home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20492 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!positron
  3. From: positron@engin.umich.edu (Jonathan Scott Haas)
  4. Subject: Re: One routine works, the other doesnt, WHY??
  5. Message-ID: <Dya=x9@engin.umich.edu>
  6. Date: Thu, 31 Dec 92 18:45:34 EST
  7. Organization: University of Michigan Engineering, Ann Arbor
  8. References: <1992Dec29.121933.1426@galaxy.gov.bc.ca>
  9. Nntp-Posting-Host: marjoram.engin.umich.edu
  10. Lines: 17
  11.  
  12. In article <1992Dec29.121933.1426@galaxy.gov.bc.ca> cconstantine@galaxy.gov.bc.ca writes:
  13. >Could someone please explain to me why the following routine gets compile time
  14. >errors under MPW C 3.2.4:
  15. >
  16. >curDev = GetMainDevice();
  17. >pixDepth = GetPixelDepth( curDev );                             
  18. >if ( pixDepth <> 8 )                                            
  19. >    DeathAlert( errNot8Bit );
  20. >
  21.  
  22. Native speaker of Pascal, eh? :)
  23.  
  24. -- 
  25. __/\__  Jonathan S. Haas         | Jake liked his women the way he liked
  26. \    /  University of Michigan   | his kiwi fruit: sweet yet tart, firm-
  27. /_  _\  positron@engin.umich.edu | fleshed yet yielding to the touch, and
  28.   \/                             | covered with short brown fuzzy hair.
  29.