Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!frankk From: frankk@mcvax.UUCP (Frank Kuiper) Newsgroups: net.micro.mac Subject: Text files -> MacPascal files??? Message-ID: <1105@mcvax.UUCP> Date: Tue, 5-Aug-86 12:24:27 EDT Article-I.D.: mcvax.1105 Posted: Tue Aug 5 12:24:27 1986 Date-Received: Wed, 6-Aug-86 02:26:27 EDT Reply-To: Frank Kuiper Followup-To: net.micro.mac Distribution: net Organization: CWI, Amsterdam Lines: 27 Here is the problem: We want to convert ordinary text files to Pascal-type files. Setting the 'Owner' field to 'PASC' is not sufficient. Pascal apparantly needs more. I've checked the sizes of both the rsrc and data forks. It appears that the actual data is stored in the data part (obvious!), but the rsrc part ALSO contains some information, on which Pascal relies. So, how can we change a text-only file to a Pascal file?? Copying the rsrc part from one file to another doesn't help. There should be a trivial solution, so we're probably missing something ... :-) Any help appreciated. Thanks in advance. -- Frank ___ Frank Kuiper, CWI, Amsterdam. _][__| | ...{decvax,philabs,seismo,okstate,garfield}!mcvax!frankk <_______|-1 Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch. O-O-O