Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!ruuinf!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.sys.atari.st Subject: Re: Line/char number for PD-Modula2 error files Message-ID: <1386@ruuinf.cs.ruu.nl> Date: 16 Jun 89 14:19:32 GMT References: <2428@water.waterloo.edu> Sender: piet@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Distribution: comp Organization: Dept of Computer Science, University of Utrecht, Holland Lines: 27 In-reply-to: jmlang@water.waterloo.edu (Jerome M Lang) In article <2428@water.waterloo.edu>, jmlang@water (Jerome M Lang) writes: ` Has anybody figured out how to use the error files that the `PD-Modula2 generates? I presume that the editor that is mentionned `in the menu should be able to handle these files; however, no `editors ever came with the distribution. I can't quite figure out `the format used to embed the line/position of the error. I just `know that if I insert a blank line/space before an error, then `something changes in the error file. ` The line/char number uses the 'LED-digits' in the ATARI character set. Apparently they have an editor that recognizes these. If you don't know what that means: it is in decimal, where the character representation is: 0x10 -> '0' 0x11 -> '1' I have written an intermediate program 'editor.prg', that I posted some time ago. I have improved this to convert the line/char number to normal ASCII chars. I will post this tomorrow. By the way, this is not in the docs, I just found this by reading the error file with the program 'memfile 1.4' -- Piet van Oostrum, Dept of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!hp4nl!ruuinf!piet)