Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!sri-spam!mordor!lll-crg!seismo!mcvax!frankk From: frankk@mcvax.UUCP (Frank Kuiper) Newsgroups: net.micro.mac Subject: Re: Text files -> MacPascal files??? Message-ID: <1106@mcvax.UUCP> Date: Wed, 6-Aug-86 07:44:33 EDT Article-I.D.: mcvax.1106 Posted: Wed Aug 6 07:44:33 1986 Date-Received: Sat, 9-Aug-86 03:18:22 EDT References: <1105@mcvax.UUCP> Reply-To: frankk@mcvax.UUCP (Frank Kuiper) Distribution: net Organization: CWI, Amsterdam Lines: 32 In article <1105@mcvax.UUCP> Frank Kuiper writes: > >We want to convert ordinary text files to Pascal-type files. > ... >So, how can we change a text-only file to a Pascal file?? > >There should be a trivial solution, so we're probably >missing something ... :-) We really did miss something. It appears that the file we want Pascal to read, comes from a CDC machine, which puts extra \0 characters before every line in the file. (Don't ask me why, I don't use that system :-)) MacWrite doesn't display those characters either, but they are there, and you can delete them! So, after we deleted those \0 characters, Pascal was very happy with reading the file. Frank ___ Frank Kuiper, CWI, Amsterdam. _][__| | ...{decvax,philabs,seismo,okstate,garfield}!mcvax!frankk <_______|-1 Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch. O-O-O -- Frank ___ Frank Kuiper, CWI, Amsterdam. _][__| | ...{decvax,philabs,seismo,okstate,garfield}!mcvax!frankk <_______|-1 Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch. O-O-O