🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1492

executing from within a modula-program

#1492
From: Hubert Mock
Date: Tue, 03 Nov 1992 03:26
20 lines
1350 bytes
Hi Ronald,
 > I use Topspeed modula 3.1 and had a problem in my last program. Does
 > anyone know how Ii can execute another program from a modula program so
 > that this modula program is removed from memory (the program is stopped
 > and so may be removed from memory). This program is a menusystem that
 > executes other programs. If i choose a program the program must execute
 > it and remove the modula program. Thus the problem is how i can do this
 > !! Please answer if you know it. Very much obliged...

The easiest solution would be if you leave your menusystem-program with setting different errorlevels. In a batchfile you can start other programs depending on the errorlevel.

I hope this will solve your problem.

Servus,
          Hubert


--  
uucp: uunet!m2xenix!puddle!2!246!67.1!Hubert.Mock
Internet: Hubert.Mock@p1.f67.n246.z2.fidonet.org
Technical Details
Message-ID: <16490.2AFB1912@puddle.fidonet.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!psgrain!puddle!p1.f67.n246.z2.fidonet.org!Hubert.Mock

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!psgrain!puddle!p1.f67.n246.z2.fidonet.org!Hubert.Mock
From: Hubert.Mock@p1.f67.n246.z2.fidonet.org (Hubert Mock)
Newsgroups: comp.lang.modula2
Subject: executing from within a modula-program
Message-ID: <16490.2AFB1912@puddle.fidonet.org>
Date: 3 Nov 92 03:26:00 GMT
Article-I.D.: puddle.16490.2AFB1912
Sender: ufgate@puddle.fidonet.org (newsout1.26)
Organization: FidoNet node 2:246/67.1 - TELEPOINT BBS, Bad Woerishofen
Lines: 20