Widget Well-Known Member Licensed User Longtime User Sep 21, 2016 #1 I see Erel has #Else working for conditional compilation. 'This now works in B4A v6.3 (Beta) - Yippie! #IF DebugMode .... #Else .... #END IF
I see Erel has #Else working for conditional compilation. 'This now works in B4A v6.3 (Beta) - Yippie! #IF DebugMode .... #Else .... #END IF
lemonisdead Well-Known Member Licensed User Longtime User Sep 21, 2016 #2 And indented too , pretty nice B4X: #IF DebugMode ... #Else #IF Debug 'Default ... #Else ... #END IF #END IF Upvote 0
And indented too , pretty nice B4X: #IF DebugMode ... #Else #IF Debug 'Default ... #Else ... #END IF #END IF
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2016 #3 This is actually supported since v5 Upvote 0
Widget Well-Known Member Licensed User Longtime User Sep 21, 2016 #4 Erel said: This is actually supported since v5 Click to expand... I could have sworn I tried it in v5.8 and perhaps in v6.0. I must be getting senile. (Either that or my goggles are too tight!) Upvote 0
Erel said: This is actually supported since v5 Click to expand... I could have sworn I tried it in v5.8 and perhaps in v6.0. I must be getting senile. (Either that or my goggles are too tight!)
Erel B4X founder Staff member Licensed User Longtime User Sep 22, 2016 #5 Note that you can implement more sophisticated logic: B4X: #IF SomeSymbol OR (SomeOtherSymbol And ThisSymbol) ... #Else If OtherSymbol #Else .. #End If Upvote 0
Note that you can implement more sophisticated logic: B4X: #IF SomeSymbol OR (SomeOtherSymbol And ThisSymbol) ... #Else If OtherSymbol #Else .. #End If