Path: utzoo!attcan!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!p16.f1.n313.z2.fidonet.org!Ralf.Hauber From: Ralf.Hauber@p16.f1.n313.z2.fidonet.org (Ralf Hauber) Newsgroups: comp.lang.modula2 Subject: TopSpeed and returning an Exit() code? Message-ID: <1883.26F2C0FB@puddle.fidonet.org> Date: 12 Sep 90 16:15:18 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 2:313/1.16 - Klosterneuburg BOX, Klosterneuburg Austria Lines: 19 Hi Jeff! In a message of , Jeff Parker (1:105/42) writes: > 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 The module "Lib" provides the procedure "SetReturnCode(code: SHORTCARD)", which lets You specify the DOS return code. You can access this code through the DOS code ErrorLovel. Regards Ralf. -- uucp: uunet!m2xenix!puddle!2!313!1.16!Ralf.Hauber Internet: Ralf.Hauber@p16.f1.n313.z2.fidonet.org