home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20645 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!janix.unt.dec.com!gbi01.enet.dec.com!caruso
  3. From: caruso@gbi01.enet.dec.com (Angelo Caruso)
  4. Subject: Re: How to find fRefNum?
  5. Message-ID: <1993Jan4.224237.9256@janix.unt.dec.com>
  6. Sender: news@janix.unt.dec.com (USENET News System)
  7. Organization: Digital Equipment Corporation
  8. References:   <1993Jan4.175435.5894@nosc.mil>
  9. Date: Mon, 4 Jan 1993 22:37:53 GMT
  10. Lines: 20
  11.  
  12.  
  13. In article <1993Jan4.175435.5894@nosc.mil>, frantzen@nosc.mil (Louise E. Frantzen) writes...
  14. >Hello everyone, 
  15. >Could someone please tell me exactly what an fRefNum is and how one
  16. >obtains this mysterious number? I am looking at Inside Mac VI page 22-100
  17. >at the SetupAIFFHeader call whose first argument is an fRefNum.  I have 
  18. >looked through all the Inside Macs I can get my hands on and can't find
  19. ......
  20.  
  21. Well, I am really glad you asked a question I can answer 8-). fRefNum is
  22. returned by any call used to open a file. I use HOpenDF/HOpenRF, there are
  23. other.
  24.  
  25. Enjoy , Angelo.
  26.  
  27. P.S. If I understand IM IV (it isn't always the case...) you have to open a
  28. file for writing and then SetupAIFFHeader, given the file reference of that
  29. file, writes the right header for you. 
  30.