🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3868

Re: Question: Logitech Modula-2 and subprogram loading

#3868
From: Randy Bush
Date: Thu, 01 Oct 1987 00:29
13 lines
1413 bytes
In article <969@daimi.UUCP> erja@daimi.UUCP (Erik Jacobsen) writes:
>Using the standard module "Program" and its procedure "Call",
>it is possible to divide a program into subprograms, which can
>then be loaded upon request. How is it possible to pass an argument
>to the subprogram, e.g. a filename?

Have the multiple program MODULEs all import the same module which holds
the data.  I believe one must tell the Logitech linker not to include the
importee in the subMODULEs, and to use the one in the root module, but I
forget how, sorry.
-- 
randy%oresoft.uucp@tektronix.tek.com                     FidoNet:1/105/6
randy%oresoft.uucp%tektronix.tek.com@relay.cs.net        1+(503) 245-2202
Technical Details
Message-ID: <81@oresoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!necntc!ames!ucbcad!ucbvax!decvax!tektronix!oresoft!randy
References: <969@daimi.UUCP>

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!necntc!ames!ucbcad!ucbvax!decvax!tektronix!oresoft!randy
From: randy@oresoft.UUCP (Randy Bush)
Newsgroups: comp.lang.modula2
Subject: Re: Question: Logitech Modula-2 and subprogram loading
Message-ID: <81@oresoft.UUCP>
Date: Wed, 30-Sep-87 20:29:19 EDT
Article-I.D.: oresoft.81
Posted: Wed Sep 30 20:29:19 1987
Date-Received: Mon, 5-Oct-87 02:52:25 EDT
References: <969@daimi.UUCP>
Reply-To: randy@oresoft.UUCP (Randy Bush)
Organization: Oregon Software, Portland OR
Lines: 13
Keywords: Logitech Modula-2/86, subprograms, argument passing
Summary: Pass data to subprograms via shared modules holding data