Article View: comp.lang.modula2
Article #3764Re: exporting imports
From: Ted Peters
Date: Wed, 19 Aug 1987 16:18
Date: Wed, 19 Aug 1987 16:18
11 lines
1069 bytes
1069 bytes
You should certainly be able to export imports directly. For instance
if you wanted to make a new InOut module, with some of the procedures
being different, you shouldn't have to rewrite all of them (even if you're
only calling the old ones). Forcing the module that uses NewInOut to
also export some routines from InOut would be inconvenient, and it would
not sufficiently abstract the lower level module.
I hope all compilers support this...
- Ted Peters
Disclaimer : All Mine.
Technical Details
Message-ID:
<366@metheus.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!gatech!rutgers!labrea!decwrl!hplabs!hp-pcd!uoregon!omepd!littlei!ogcvax!metheus!petersReferences:
<21@rpicsb8>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!gatech!rutgers!labrea!decwrl!hplabs!hp-pcd!uoregon!omepd!littlei!ogcvax!metheus!peters From: peters@metheus.UUCP (Ted Peters) Newsgroups: comp.lang.modula2 Subject: Re: exporting imports Message-ID: <366@metheus.UUCP> Date: Wed, 19-Aug-87 12:18:42 EDT Article-I.D.: metheus.366 Posted: Wed Aug 19 12:18:42 1987 Date-Received: Sun, 23-Aug-87 01:43:27 EDT References: <21@rpicsb8> Reply-To: peters@metheus.UUCP (Ted Peters) Organization: U.C. Berkeley Lines: 11