Path: 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 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!)