Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!imagery!p5.f22.n282.z1.FIDONET.ORG!Jim.Spencer From: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG (Jim Spencer) Newsgroups: comp.sys.mac.programmer Subject: Think Pascal help needed Message-ID: <16.25EE61D7@imagery.FIDONET.ORG> Date: 1 Mar 90 02:38:10 GMT Sender: ufgate@imagery.FIDONET.ORG (newsout1.26) Organization: FidoNet node 1:282/22.5 - Macintosh SmorgasBo, Bloomington MN Lines: 11 >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. High-Level routine FSDelete(fileName: Str255; vRefNum: INTEGER) : OSErr; should work fine for you. See Inside Mac Vol. IV, pg. 113. -- Jim Spencer - via FidoNet node 1:282/33 UUCP: ...!uunet!imagery!22.5!Jim.Spencer ARPA: Jim.Spencer@p5.f22.n282.z1.FIDONET.ORG