[Gambas-user] Can i disable the return code error message?

Benoît Minisini g4mba5 at gmail.com
Sat Jan 29 02:56:06 CET 2022


Le 29/01/2022 à 02:26, Bruce Steers a écrit :
> 
> 
> On Fri, 28 Jan 2022 at 20:25, Bruce Steers <bsteers4 at gmail.com 
> <mailto:bsteers4 at gmail.com>> wrote:
> 
>     I have a program that if the user clicks cancel it returns error
>     code 125 (operation cancelled)
> 
>     now every time i run it through the IDE it pops up a message telling
>     me it returned an error code.
> 
>     Can i stop the IDE doing that if i do not wat to know?
> 
> 
> How's this idea Ben? ....
> https://gitlab.com/bsteers4/gambas/-/tree/hide-return-codes 
> <https://gitlab.com/bsteers4/gambas/-/tree/hide-return-codes>
> 
> That adds GB_NO_ERROR_WARN=1 as an Env that will suppress the messages 
> if i want.
> 
> Respects
> BruceS
> 

It's better to add a debugging option to the IDE.

-- 
Benoît Minisini


More information about the User mailing list