1. Error Window Disappears Too Quickly
- Posted by Tony Steward <lockmaster67 at aol.com> Sep 18, 2002
- 537 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--
2. Re: Error Window Disappears Too Quickly
- Posted by Elliott Sales de Andrade <quantum_analyst at hotmail.com> Sep 18, 2002
- 496 views
Tony Steward wrote: >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? How about a simple while loop? puts(2, "Error Message \n") while get_key() = -1 do end while -- Wait for a Keypress abort(1) Euphoria Instant Messenger Have YOU Joined? http://groups.yahoo.com/group/euim/
3. Re: Error Window Disappears Too Quickly
- Posted by Don Phillips <EuNexus at yahoo.com> Sep 19, 2002
- 506 views
--0-409804045-1032468779=:28068 I am also lazy =) Maybe too lazy. A cheap and easy way to pause and turn warnings on and define a variable which you never use. Euphoria will pause and display this as a warning. with warning atom break Don Phillips Tony Steward wrote: >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? <P>I am also lazy =) Maybe too lazy. <P>A cheap and easy way to pause and turn warnings on and define a variable which you never use. Euphoria will pause and display this as a warning. <P>with warning <P>atom break <P> <P>Don Phillips <P> <B><I>Elliott Sales de Andrade <QUANTUM_ANALYST at HOTMAIL.COM></I></B>wrote: --0-409804045-1032468779=:28068--
4. Re: Error Window Disappears Too Quickly
- Posted by kbochert at copper.net Sep 19, 2002
- 478 views
On Thu, 19 Sep 2002 13:52:59 -0700 (PDT), Don Phillips wrote: > > >I am also lazy =3D) Maybe too lazy. >A cheap and easy way to pause and turn warnings on and define a >variable which you never use. Euphoria will pause and display= this >as a warning. >with warning >atom break > >Don Phillips > My favorite was to just put the word 'pause' at the end of my= source. Karl Bochert