🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2929

Re: On TopSpeed's data const_in_code pragma

#2929
From: Bengt-Inge Dalenback
Date: Tue, 24 Oct 1995 08:06
26 lines
1526 bytes
Heureka! Got it! etc.

It turns out that when the Const: count gets to be 0 in a module
the program won't run (i.e. the other way around fro what I
suspected last post). For 2 out of 15 modules I tried it,
so it seems so at least. 13 of them got > 0 count and no problem
running, 2 got 0 and then the app did not load.

That the count does not go to 0 in most cases just means that
there are som CONST in the definition part and I often only apply
the const_in_code pragma on the implementation part. 

It all looks like a TS bug: if the count gets to be 0, then the compiler
or linker forgets to put something essential in. I don't know what.

Bye

--------------------------------
Bengt-Inge Dalenback, CATT
also at: 
Department of Applied Acoustics
Chalmers University of Technology
Gothenburg, SWEDEN
e-mail: bid@ta.chalmers.se
fax : +46 31 145154
Technical Details
Message-ID: <46i6qd$qch@nyheter.chalmers.se>
Path: arc1-ca.pugleaf.net!g0-mac7.ta.chalmers.se!bid
References: <46fp57$jjs@nyheter.chalmers.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!g0-mac7.ta.chalmers.se!bid
From: Bengt-Inge Dalenback <bid@ta.chalmers.se>
Newsgroups: comp.lang.modula2
Subject: Re: On TopSpeed's data const_in_code pragma
Date: 24 Oct 1995 08:06:37 GMT
Organization: CATT & Dep. of Applied Acoustics, Chalmers
Distribution: world
Message-ID: <46i6qd$qch@nyheter.chalmers.se>
References: <46fp57$jjs@nyheter.chalmers.se>
NNTP-Posting-Host: g0-mac7.ta.chalmers.se
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Nuntius 2.0.1_68K
X-XXMessage-ID: <ACB25D2C5201B84A@g0-mac7.ta.chalmers.se>
X-XXDate: Tue, 24 Oct 1995 08:06:52 GMT