Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Think Pascal help needed Message-ID: <1979@husc6.harvard.edu> Date: 28 Feb 90 04:17:48 GMT References: <5678.25ea6806@uhvax1.uh.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec Language Products Group Lines: 25 In article <5678.25ea6806@uhvax1.uh.edu> englfz@uhvax1.uh.edu writes: >I'm using Think Pascal and need to create and delete temporary files >within the program. Creating the files is no problem, bu I don't know how >to tell Pascal to tell th Mac to trash the files I no longer need. If you use standard Pascal calls to create anonymous files, those files will be deleted when the program terminates. If you're going to use the Mac file system calls, you'll need to keep a list of the files that you've created, and delete them as the last action in your program. R. ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "When someone who makes four hundred and fifty dollars an hour wants to tell you something for free, it's a good idea to listen." ~~~~~~~~~~~~~~~