iOS Question B4i directive

Alessandra Pellegri

Active Member
Licensed User
Longtime User
I would like to do copy and paste between B4A and B4I. Because something is different, I need to put an "IF is B4A" and "IF is B4I" in my functions.

For example:
B4X:
dim xx as listview

Sub myExample()
   xx.AddSingleLine("Hello")

   #IF B4I
      xx.reloadAll
   #EndIF
end Sub

Is it possible ?

Thank you
 

JonPM

Well-Known Member
Licensed User
Longtime User
I'm not sure if one actually exists but you can create your own boolean in Main>Process Globals, something like isB4i = False. and in B4i change to true
 
Upvote 0
Top