Re: [Gambas-user] Global error management routine

2013-05-26 Thread Tobias Boege
On Sun, 26 May 2013, Beno?t Minisini wrote: > Le 26/05/2013 10:08, Tobias Boege a ?crit : > > > > I did. This is my FMain.class: > > > > --- > > Static Public Sub Application_Error() > >Error "Error: "; Error.Text > >Print 12 / 0 > > End > > > > Public Sub Button1_Click() > >File.Load("

Re: [Gambas-user] Global error management routine

2013-05-26 Thread Benoît Minisini
Le 26/05/2013 10:08, Tobias Boege a écrit : > > I did. This is my FMain.class: > > --- > Static Public Sub Application_Error() >Error "Error: "; Error.Text >Print 12 / 0 > End > > Public Sub Button1_Click() >File.Load("/does/not/exist") > End > --- > > What currently happens is that, wh

Re: [Gambas-user] Global error management routine

2013-05-26 Thread Tobias Boege
On Sat, 25 May 2013, Beno?t Minisini wrote: > Le 21/05/2013 16:13, Tobias Boege a ?crit : > > Hi Benoit, > > > > when programming a component in C/C++, one can use the error hook to execute > > a function when the interpreter is about to abort because of an error. > > > > In Gambas itself, we only

Re: [Gambas-user] Global error management routine

2013-05-25 Thread Benoît Minisini
Le 21/05/2013 16:13, Tobias Boege a écrit : > Hi Benoit, > > when programming a component in C/C++, one can use the error hook to execute > a function when the interpreter is about to abort because of an error. > > In Gambas itself, we only have the local Catch blocks to execute code in > case of e

Re: [Gambas-user] Global error management routine

2013-05-22 Thread Richard Terry
Benoît Minisini wrote: > Le 22/05/2013 00:04, Richard Terry a écrit : > >> Tobias Boege wrote: >> >>> Hi Benoit, >>> >>> when programming a component in C/C++, one can use the error hook to execute >>> a function when the interpreter is about to abort because of an error. >>> >>> In Gambas

Re: [Gambas-user] Global error management routine

2013-05-22 Thread Benoît Minisini
Le 22/05/2013 10:02, Ron a écrit : > On 22-5-2013 9:53, Benoît Minisini wrote: >> Le 22/05/2013 00:04, Richard Terry a écrit : >>> Tobias Boege wrote: Hi Benoit, when programming a component in C/C++, one can use the error hook to execute a function when the interpreter is

Re: [Gambas-user] Global error management routine

2013-05-22 Thread Ron
On 22-5-2013 9:53, Benoît Minisini wrote: > Le 22/05/2013 00:04, Richard Terry a écrit : >> Tobias Boege wrote: >>> Hi Benoit, >>> >>> when programming a component in C/C++, one can use the error hook to execute >>> a function when the interpreter is about to abort because of an error. >>> >>> In G

Re: [Gambas-user] Global error management routine

2013-05-22 Thread Benoît Minisini
Le 22/05/2013 00:04, Richard Terry a écrit : > Tobias Boege wrote: >> Hi Benoit, >> >> when programming a component in C/C++, one can use the error hook to execute >> a function when the interpreter is about to abort because of an error. >> >> In Gambas itself, we only have the local Catch blocks t

Re: [Gambas-user] Global error management routine

2013-05-21 Thread Richard Terry
Tobias Boege wrote: > Hi Benoit, > > when programming a component in C/C++, one can use the error hook to execute > a function when the interpreter is about to abort because of an error. > > In Gambas itself, we only have the local Catch blocks to execute code in > case of error in this or any cont

[Gambas-user] Global error management routine

2013-05-21 Thread Tobias Boege
Hi Benoit, when programming a component in C/C++, one can use the error hook to execute a function when the interpreter is about to abort because of an error. In Gambas itself, we only have the local Catch blocks to execute code in case of error in this or any context above in the stack. However