Beta B4A v5 Beta 2, condition compilation, font size

Pendrush

Well-Known Member
Licensed User
Longtime User
I'm unable to use condition compilation
B4X:
 #If Publish Then ' Syntax error in this line
   ...
#End If

Second issue with new IDE is font size. Chosen font size is used only in IDE, but not in designer scrips and manifest editor.
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
#If Publish  ' no then needed here
   ...
#End If
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Chosen font size is used only in IDE, but not in designer scrips and manifest editor.
Will be fixed.

Note that in the new version conditional compilation also supports:
B4X:
#If Publish AND WithAds

#Else If Not(Trial) OR Publish

#Else

#End If
 
Upvote 0
Top