[Gambas-user] Headache causing misplaced error message.

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Apr 6 15:39:21 CEST 2009


Thanks!!!

Jussi


2009/4/6 Benoît Minisini <gambas at ...1...>:
>> Hi!
>> Here is very simplified example of the bug I found (Gambas 2.10 and
>> Gambas3 rev. 1917).
>>
>> >From that you can easily see what is wrong, but in real life code...
>>
>> This bug seems to be generally in "else if", error doesn't have to be
>> division by zero, it could be any.
>> And there could be many lines of "else if", still the error message
>> goes to the first line.
>>
>>
>> Dim x As Integer
>>
>> If x = -1 Then '<---  YOU GOT ERROR MESSAGE FROM THIS LINE.
>> 'nothing
>> Else If 1 / 0 Then
>> 'nothing
>> Endif
>>
>>
>> Regards,
>> Jussi
>>
>
> Finally fixed in revision #1924!
>
> Regards,
>
> --
> Benoît
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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