Error Window Disappears Too Quickly

new topic     » topic index » view thread      » older message » newer message

--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--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu