[Gambas-user] Signal 11 with some ByRef conditions

Jussi Lahtinen jussi.lahtinen at ...626...
Mon May 18 16:52:18 CEST 2009


Thanks!!
My work just jammed because this issue, so fix couldn't have any better timing!
And it seems to work!


Jussi



2009/5/18 Benoît Minisini <gambas at ...1...>:
>> Hi!
>>
>> Call this function;
>>
>> Public Function Test(a1 As Object, ByRef a2 As Long, a3 As Long, a4 As
>> Long, a5 As Boolean, a6 As Boolean, a7 As Long, a8 As Long, a9 As
>> Boolean, Optional ByRef a10 As Long, Optional ByRef a11 As Long,
>> Optional ByRef a12 As Long, Optional ByRef a13 As Long, Optional ByRef
>> a14 As Long) As Boolean
>> Dim SomeVariable As Integer
>> End
>>
>> in anyway, and you got strange error message, unpredictable behaviour
>> or signal 11.
>> I called it this way:
>> Test(Null, 1, 1, 1, False, False, 1, 1, False)
>>
>> And got message, which doesn't make much sense:
>> Type mismatch: wanted String, got Void instead.
>>
>> Bug occurs on Ubuntu 9.04 64bit with Gambas 3 revision 1954.
>>
>>
>> Jussi
>>
>
> OK, the bug should be fixed in revision #1964.
>
> Regards,
>
> --
> Benoît
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list