Android Question alert : Return type (Sub signature) should be set explicitly.

palmaf

Member
Licensed User
Longtime User
I used the IIF function as described in the forum, but now compile i from this alert : Return type (Sub signature) should be set explicitly. How to correct ? Thanks

this is the code

Sub IIF(c As Boolean, TrueRes As String, FalseRes As String)

If c Then Return TrueRes Else Return FalseRes

End Sub
 
Top