Wish Build configurations 3 or 5 lines into 1 (Condition)

Peter Simpson

Expert
Licensed User
Longtime User
Hello,
I know it's not really a big issue, but when using Build Configurations B4X developers do the following.
B4X:
Example using 3 lines:
        #If Developer
            Log($"3 lines into 1 = "${MakeItSo}$)
        Else
            Log($"5 lines into 1 = "${MakeItSo}$)        
        #End If
It would be nice if we could just have the above work with one line just like the normal If > Then > Else condition.
B4X:
Like this example using 1 line:
        #If Developer Then Log($"3 lines into 1 = "${MakeItSo}$) Else Log($"5 lines into 1 = "${MakeItSo}$)

Just like the standard conditions in the B4X suite of tools.

Thank you...
 
Last edited:

Peter Simpson

Expert
Licensed User
Longtime User
very helpful :)
By the way, I did not know "if developer" until now. :(

If setup 2 conditions, Developer and Release, I use developer to view logs, to bypass the licensing library, to ignore warnings like file not used etc.

But I wish it was more like the standard if else, that way we can either use 3 into 1 line or better still 5 into 1 line of code.
 
Top