Re: Error Window Disappears Too Quickly

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

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/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu