Article View: net.micro.mac
Article #6683Text files -> MacPascal files???
From: Frank Kuiper
Date: Tue, 05 Aug 1986 16:24
Date: Tue, 05 Aug 1986 16:24
27 lines
1477 bytes
1477 bytes
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
Technical Details
Message-ID:
<1105@mcvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!frankkShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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 <frankk@mcvax.UUCP> Followup-To: net.micro.mac Distribution: net Organization: CWI, Amsterdam Lines: 27