🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1118

TopSpeed and returning an Exit() code?

#1118
From: Jeff Parker
Date: Tue, 04 Sep 1990 23:57
18 lines
1426 bytes
I am working for Oakland University as a student programmer for Academic 
Computing Services.  My first project is to write a menu program for our
PC's so the user doesn't have to learn DOS.  Due to constraints, I cannot
have my program write to any disk, so I need to somehow put my menu program
in the middle of a .bat file. Can I -
	1) Set an environment variable for the next part of the .bat file or
	2) Return an error level that can be tested?
From the manual, I can see no way of doing either of these.  I would much 
prefer doing this in Modula-2 because of the windowing procedures available
with this version. I also happen to enjoy programming in M2. 
Anyway, thanks for any help.

	
-- 
Jeffrey D. Parker (no philosopher) | By all means marry; if you get a good wife,
INET: parker@vela.acs.oakland.edu  | you'll become happy; if you get a bad one,
BITNET: PARKER@OAKLAND             | you'll become a philosopher.      Socrates
UUCP: ...!umich!vela!amiga1!fanatic| (Or get an AMIGA - You'll be Happy!)	
Technical Details
Message-ID: <2876@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!vela!parker

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!vela!parker
From: parker@vela.acs.oakland.edu (Jeff Parker)
Newsgroups: comp.lang.modula2
Subject: TopSpeed and returning an Exit() code?
Keywords: Version 1.17, exit(), bat files
Message-ID: <2876@vela.acs.oakland.edu>
Date: 4 Sep 90 23:57:00 GMT
Organization: Oakland University, Rochester MI.
Lines: 18