Re: Warnings in Euphoria 2.5

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

D. Newhall wrote:

>> So it can depend on the program flow and the input data, whether or not
>> a warning is shown. Is it possible/desirable to change the behaviour of
>> the interpreter, so that causes of warnings are detected at parse-time?
>
> The behavior of the interpreter is to print out all the warnings at the
> end of program execution so wether or not warnings are discovered
> during parsing or execution makes no difference since the output is the
> same.
> It makes more sence to print it at the end in my opinion because if you
> give a program away having it start up with "Warning: variable foo in
> bar.ex is not used" doesn't make the program look good.

The warnings are for the developer of the program, not for the end-user.
So I will not give away a program that issues warnings at all. However,
that's not the point here.

I did not write that I want the interpeter to print warnings at the
start of a program. I wrote something completely different.

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu