As per the many other threads, I would really love to have this in the B4X core.
Yes, I know there are ways to do it but it would be great to have this in B4X as a core function.
B4X IIF Function
I'm just tired of having to hunt it down to add it to every project, and then reference whatever module I put it in. Sub IIF(ccc As Boolean, TrueVal As Object, FalseVal As Object) As Object If ccc Then Return TrueVal Else Return FalseVal End Sub
www.b4x.com
Yes, I know there are ways to do it but it would be great to have this in B4X as a core function.
Last edited: