home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14913 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.1 KB

  1. Path: sparky!uunet!olivea!decwrl!concert!borg!strauss!lari
  2. From: lari@strauss.cs.unc.edu (Humayun Lari)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: vrefNum from Path Name
  5. Message-ID: <14960@borg.cs.unc.edu>
  6. Date: 2 Sep 92 21:43:26 GMT
  7. References: <47022@shamash.cdc.com> <Btwwt5.7Bv@taligent.com>
  8. Sender: news@cs.unc.edu
  9. Distribution: usa
  10. Organization: The University of North Carolina at Chapel Hill
  11. Lines: 13
  12.  
  13. In article <Btwwt5.7Bv@taligent.com> keith@taligent.com (Keith Rollin) writes:
  14. >Remember, Inside Mac says that you should _NOT_ create FSSpecs by hand. You
  15. >should always call FSMakeFSSpec. Don't go filling in the parID and vRefNum
  16. >fields yourself. (There is one exception to this, which is that you can freely
  17. >assign one FSSpec record to another.)
  18.  
  19. What about when the file/directory you're referring to does not exist?
  20. If I remember correctly, FSMakeFSSpec checks to make sure that it does, so
  21. it would return an error code when you're trying to create an FSSpec prior to
  22. performing a Save As... Or am I wrong about this? Keith?
  23.  
  24. Humayun Lari
  25. (lari@cs.unc.edu)
  26.