Error Window Disappears Too Quickly
- Posted by Tony Steward <lockmaster67 at aol.com> Sep 18, 2002
- 535 views
--part1_86.206ebc2d.2ab9aa34_boundary Hi All, If my prog gets an error and comes to an abort(1) command the dos window flashes so quickly I can't read it. I know I should be trapping the errors but am lazy at the moment and reading the error would be all I need. I use something like puts(2, "Error message \n") abort(1) how can I make the dos window wait for me? Thanks Tony --part1_86.206ebc2d.2ab9aa34_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit <HTML><FONT FACE=arial,helvetica><FONT SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Hi All,<BR> If my prog gets an error and comes to an abort(1) command the dos window flashes so quickly I can't read it. I know I should be trapping the errors but am lazy at the moment and reading the error would be all I need.<BR> <BR> I use something like<BR> puts(2, "Error message \n")<BR> abort(1)<BR> <BR> how can I make the dos window wait for me?<BR> <BR> Thanks<BR> --part1_86.206ebc2d.2ab9aa34_boundary--