Article View: comp.lang.modula2
Article #2662Converting Modula-2 to C
From: Simon Callan
Date: Mon, 31 Jul 1995 23:28
Date: Mon, 31 Jul 1995 23:28
39 lines
1384 bytes
1384 bytes
I'm not sure if this is the best newsgroup for this, but since I got the info from the FAQ, it seem reasonable. I am trying to convert a large amount o2 Modula-2 to C, using the MTC program running under DOS and DJGPP. I have compiled MTC, with no problems, but I am having problems running it. I have a simple test program : IMPLEMENTATION MODULE test; VAR A : CARDINAL; BEGIN A:=1; END test. When I try to run MTC on this, I get the following result: D:\TEST>mtc test.mod go32 version 1.12.maint1 Copyright (C) 1994 DJ Delorie test.mod: 8, 1: Error illegal character 1 error(s) D:\TEST> does anyone know what is going wrong with this? Thanks in advance Simon Callan -- Simon GCS$ dx(++>--) H+>+++ s+:+ g+ p?+ !au a28 w+ v-->---(*) C++ US+ P+ L 3 E--- N+++ K- !W--- M-- !V po Y+ t+ !5 !j R G? tv+ b+++ !D B? e- u(+) h+ f(?) r-(--) n---- !y+* ... A seminar on Time Travel will be held two weeks ago
Technical Details
Message-ID:
<19950731.232859.34@callan.demon.co.uk>Path:
arc1-ca.pugleaf.net!callan.demon.co.uk!simonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!callan.demon.co.uk!simon From: simon@callan.demon.co.uk (Simon Callan) Newsgroups: comp.lang.modula2 Subject: Converting Modula-2 to C Date: Mon, 31 Jul 1995 23:28:59 GMT Distribution: world Message-ID: <19950731.232859.34@callan.demon.co.uk> Reply-To: simon@callan.demon.co.uk NNTP-Posting-Host: callan.demon.co.uk X-NNTP-Posting-Host: callan.demon.co.uk X-Newsreader: Archimedes TTFN Version 0.36