Android Question Is there a #if <compiler>

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Is there a #if B4J or #If B4A

Have some common code that I would like to wrap in #if statements for the different environments.

YES... I realize I can define my own. But was just wondering if there was one for each different product automatically available

The code I am trying to wrap is mostly SQL statements - where B4J use's ResultSet and B4A use's Cursor

If there isn't anything maybe someone can / will move this to the WISH list

Thanks

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Daaa. Kept typing #if _B4A or #if _B4J no wonder they didn't exists

Klaus:

Thanks that will clean up the code a lot - didn't realize that it
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…