[Gambas-user] Event raising

Benoit Minisini gambas at ...1...
Fri Jan 13 12:36:11 CET 2006


On Thursday 12 January 2006 12:27, Marco Gusy wrote:
> Alle 10:45, giovedì 12 gennaio 2006, Benoit Minisini ha scritto:
> > On Thursday 12 January 2006 09:09, Marco Gusy wrote:
> > > Alle 09:03, giovedì 12 gennaio 2006, Marco Gusy ha scritto:
> > > > I tried this sintax
> > > >
> > > > dim bres as boolean
> > > > cancel = raise change(var1,var2)
> > >
> > > sorry, i meant
> > > bres = raise change(var1,var2)
> > >
> > > by the way my gambas version is 1.9.23.
> >
> > Did you declare your event as returning a boolean value?
>
> By the way, this problem doesn't occour if the callback is a function and
> not a sub. But in gambas controls "stop event" works also with sub
> callbacks
>

This is a design error in the interpreter!

Can you try with this patch an tell me the result?

Thanks in advance.

-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbx_exec_loop.c
Type: text/x-csrc
Size: 35392 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060113/28c1220c/attachment.c>


More information about the User mailing list