home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21171 < prev    next >
Encoding:
Text File  |  1993-01-11  |  961 b   |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!adimail!tel
  3. From: tel@adimail.uucp (Terry Monks)
  4. Subject: File creator problem
  5. Message-ID: <1993Jan11.145114.16500@adimail.uucp>
  6. Organization: Automata Design, Inc.
  7. X-Newsreader: TIN [version 1.1 PL7]
  8. Date: Mon, 11 Jan 1993 14:51:14 GMT
  9. Lines: 19
  10.  
  11. I have a BBS program that reads and writes message files. The files
  12. were originally created with a type of TEXT and a creator of MPS .
  13. I recently changed the file types to ALFA, so that they would be 
  14. opened with Alpha, and they appeared to have been changed correctly,
  15. showed the right icon, and launched Alpha on double-click. I used
  16. FileTyper to change them.
  17.  
  18. But when the BBS program reads the files, I fined the creator has
  19. changed back to MPS . What happened? The code is in MPW Pascal, and
  20. does no more than
  21.           open(file, filename);      
  22.           readln(file,string);
  23.           ...
  24.           close(file);
  25.  
  26.  
  27. -- 
  28. Terry Monks        Automata Design Inc    (703) 742-9400
  29.  
  30.