🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3130

Funny problem

#3130
From: Bimal Shah
Date: Wed, 17 Jan 1996 12:38
31 lines
1134 bytes
Hello,

The following is happening in one of the modules
i have wrote :

IF condition THEN
	WriteString('blah, blah, blah'); 
	CALLING PROCEDURE HERE
	WriteString('blah, blah, blah');
ELSE
	CODE HERE;
END;

Now the above program (its in an implementation module)
compiles and i have no problem linking it to the client
program and the client program calls the above OK.

Now (here's the funny bit), if i remove both the above
WriteString procedures, (and re-compile, re-link), then
it crashes and doesn't seem to call the procedure (almost
like it's skipping it).

Does ANYONE have any idea what's wrong ?

Is there a MAJOR bug is Modula-2 ? I am using GPM September '95.

Thankyou.

 ---------------------------
| Bimal Shah c2bs@dmu.ac.uk | 
 ---------------------------
Technical Details
Message-ID: <4diqjd$b19@macondo.dmu.ac.uk>
Path: arc1-ca.pugleaf.net!bittern.cms.dmu.ac.uk!c2bs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!bittern.cms.dmu.ac.uk!c2bs
From: c2bs@dmu.ac.uk (Bimal Shah)
Newsgroups: comp.lang.modula2
Subject: Funny problem
Date: 17 Jan 1996 12:38:05 GMT
Organization: De Montfort University, Leicester
Message-ID: <4diqjd$b19@macondo.dmu.ac.uk>
NNTP-Posting-Host: bittern.cms.dmu.ac.uk
X-Newsreader: TIN [version 1.2 PL2]