Re: Warnings in Euphoria 2.5

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

On Sun, 30 Jan 2005 21:10:53 -0800, Robert Craig
<guest at RapidEuphoria.com> wrote:

>In 2.5, if you call
>abort() to terminate your program, the warnings will not be printed.
>You'll only see them at a "normal" termination, i.e. falling off the end
>of the main file. I'll fix this so they are printed out, even
>if you call abort().

I'd like to have some way to terminate execution if there are any
warnings, perhaps abort({0}), ie abort changed to accept an object, if
it is a sequence then check for warnings and if any show them before
terminating with param[1]. If there are no warnings it should carry on
as usual. I would normally place such a statement immediately before
the WinMain() call.

Regards,
Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu