[Gambas-user] Newbie question * 3

Benoit Minisini gambas at ...1...
Tue Jan 3 17:55:07 CET 2006


On Tuesday 03 January 2006 02:58, karl at ...1303... wrote:
> [...]
>
> 3)  The following code raises an error (and displays the "got foo"
> message) in my release  version of gambas (as you might expect :-) ),
> but none is raised in the devel version.  Is this a bug, or am I
> doing something wrong?
>
> PUBLIC SUB Form_Open()
>    TRY foobar()
>    IF ERROR THEN Message("got foo")
> END
>
> PUBLIC FUNCTION foobar() AS Boolean
>    Error.Raise("foo")
> END
>
>

I think I have fixed the bug.

Here is a patch for you, and those who need it. Use it only on the last 
development version.

Regards,

-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbx_exec.c
Type: text/x-csrc
Size: 30406 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060103/a4191379/attachment.c>


More information about the User mailing list