🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.modula2
1 messages
1 total messages Started by fred sullivan Wed, 07 Oct 1987 13:37
Imports in definition and implementation modules
#3877
Author: fred sullivan
Date: Wed, 07 Oct 1987 13:37
20 lines
1477 bytes
As I promised some time ago, I wrote to N. Wirth to ask whether
identifiers imported into the definition module should be known in the
implementation module, or should be reimported.

His answer follows:

"Concerning your question about imports in definition modules, I have
been of the opinion that the corresponding implementation module adopts
those identifiers (and associated data) that are declared in the
definition module itself, but no more.  In this case, it is indeed
necessary to import client modules again in the implementation module,
if identifiers declared in it are referenced."

I yield.

Fred Sullivan
Department of Mathematical Sciences
State University of New York at Binghamton
Binghamton, New York  13903
Email: sullivan@marge.math.binghamton.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads