🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.modula2
2 messages
2 total messages Started by Erik Jacobsen Mon, 28 Sep 1987 10:21
Question: Logitech Modula-2 and subprogram loading
#3861
Author: Erik Jacobsen
Date: Mon, 28 Sep 1987 10:21
14 lines
1132 bytes
Question:

We are using Logitech Modula-2/86 Rel. 2.00 on IBM ATs with DOS 3.20.

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?

Erik Jacobsen                      (erja@daimi.uucp)
Computer Science Department
University of Aarhus               (Phone: +45 6 12 83 55 ext. 126)
Ny Munkegade, DK-8000 Aarhus
Denmark
Re: Question: Logitech Modula-2 and subprogram loading
#3868
Author: 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
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