I was just thinking it'd be nice to be able to do this
just wishful thinking. I'm grateful we can do that using the old school, long hand method, although it takes many more lines of code.
Thank you Erel and community for a truly great development environment!
ps. HEY!!! I just thought of this!!!
Haha! I'm going to start including that in every projects MainPage Global Variables! Maybe this should be titled as a tutorial? ?
B4X:
Dim a As String = Iif(#If_B4a, "Google Maps", "Maps")
just wishful thinking. I'm grateful we can do that using the old school, long hand method, although it takes many more lines of code.
Thank you Erel and community for a truly great development environment!
ps. HEY!!! I just thought of this!!!
B4X:
Public isB4A as Boolean = False
Public isB4i as Boolean = False
Public isB4J as Boolean = False
#If B4A
isB4A = True
#Else If B4I
isB4i = True
#Else If B4J
isB4J = True
#End If
...
Dim a As String = Iif(isB4A, "Google Maps", "Maps")
Haha! I'm going to start including that in every projects MainPage Global Variables! Maybe this should be titled as a tutorial? ?