[Gambas-user] Can i disable the return code error message?
bsteers4 at gmail.com
Sat Jan 29 05:07:50 CET 2022
On Sat, 29 Jan 2022 at 01:57, Benoît Minisini <g4mba5 at gmail.com> wrote:
> 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.
I've often wanted to do things differently if running my program from the
IDE not for real.
i guess i can just use
$bIsIDE = Not Exist(Application.Path &/ File.Name(Args))
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User