Xref: utzoo comp.unix.ultrix:867 comp.lang.modula2:1456 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!unido!infbs!herr From: herr@infbs.UUCP (Peter Herr) Newsgroups: comp.unix.ultrix,comp.lang.modula2 Subject: "DECWRL Modula-2 Question" Message-ID: <1182@infbs.UUCP> Date: 25 Apr 89 11:21:29 GMT Reply-To: herr@infbs.UUCP () Organization: TU Braunschweig,Informatik,West Germany Lines: 46 This Modula-2 program MODULE exprt; FROM io IMPORT output, Writef; VAR a, b: INTEGER; BEGIN b := 101; a := 10 * (b - 1); Writef(output, "'%8d'\n", a); IF a = 1000 THEN Writef(output, "This is ok !\n") ELSE Writef(output, "This is n o t ok !\n") END; END exprt. delivers the following output: (when compiled with the DECWRL Modula-2 Compiler under ULTRIX 3.0) : ' 1010' This is n o t ok ! Does this ugly error appear with older ULTRIX-versions, too ? Does anybody know if DEC will come out sometime with a new Version of this Compiler in which all the errors (some of which are known for at least 4 years) are corrected ? Peter Herr Technische Universitaet Braunschweig Institut fuer Programmiersprachen und Informationssysteme Abteilung Datenbanken Postfach 3329 D-3300 Braunschweig e-mail: uucp: herr@infbs.uucp bitnet: herr@dbsinf6.bitnet