Other Log error hints ?

hookshy

Well-Known Member
Licensed User
Longtime User
Question or wish : It would be great to confirm a warning ! and hide it from the vertical scroll bar

The error log returns a warning on this sub :
Return type should be set explicitly warning #3

what is wrong with this statement...
B4X:
Sub pnl_adv_Touch (Action As Int, X As Float, Y As Float)
    Return True
End Sub


*******************8
uninitialised icos ... but the icos animation will not ask initialization by icos.initialise


***********
here the warning is :
Not all path return a value

B4X:
sub test(textdiac as string) as string
If textdiac.Contains(Chr(252))  Then
        textdiac=textdiac.Replace(Chr(252),"u")
    End If      
  

    If textdiac.Contains(Chr(223))  Then
        textdiac=textdiac.Replace(Chr(223),"a")
    End If  
  

  
Return textdiac
end sub
 
Top