From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103cc1,d6bf99f94cb0bcf8 X-Google-Attributes: gid103cc1,public X-Google-Thread: 103376,d6bf99f94cb0bcf8 X-Google-Attributes: gid103376,public X-Google-Thread: 108717,d6bf99f94cb0bcf8 X-Google-Attributes: gid108717,public From: Roy Grimm Subject: Re: =?iso-8859-1?Q?=A8Help?= on the ADA-compiler for win95 please Date: 1997/09/25 Message-ID: <342A6692.41C6@collins.rockwell.com>#1/1 X-Deja-AN: 275882183 References: <01bcc8c5$3a7fd560$3597f482@dirk-gently> To: KRISTIAN HOLM Organization: Rockwell Collins, Inc. Newsgroups: comp.compilers.tools,comp.lang.ada,comp.programming Date: 1997-09-25T00:00:00+00:00 List-Id: KRISTIAN HOLM wrote: > > When I run a ada program(already compiled and linked and so on)a dosprompt > appears > and shows the program thats ok so far. But if I have a prg that should for > example add two numbers and nothing more, then I can input the two numbers > but then the dosprompt just closes really fast. Its the same with all prg, > when it comes to the last thing the prg is supposed to do, the dosprompt > closes so fast that I dont know if it is alright or there is a problem of > any kind. Happy for help! > You can set up the properties of the executable to prevent the DOS window from closing automatically when the program is done. I don't have a Win95 machine in easy reach so I can't tell you exactly where the setting is. However, I believe that if you right click on the program icon and select the properties menu item, you can look around to find a check box for something like "close window on exit". Just set it so the window doesn't close when the program stops. That way, you can look at the end results and close the window when you want to. The benefit here is that you can do this with _any_ DOS executable running under Win95/NT. -- Roy A. Grimm Rockwell Collins Avionics, Cedar Rapids, Iowa Voicing my own opinion, not speaking as a company representative. All unsolicited email is quietly forwarded to /dev/null. "History teaches us that those who beat their swords into plowshares usually end up plowing for those who kept their swords." --Anon.