A Alessandra Pellegri Active Member Licensed User Longtime User Dec 16, 2015 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Dec 16, 2015 #2 Alessandra Pellegri said: Is it possible ? Click to expand... Yes. Upvote 0
A Alessandra Pellegri Active Member Licensed User Longtime User Dec 16, 2015 #3 How? I looked on the net for a list of directives but I didn't find it. Upvote 0
JonPM Well-Known Member Licensed User Longtime User Dec 16, 2015 #4 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
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
Erel B4X founder Staff member Licensed User Longtime User Dec 16, 2015 #5 Such a directive already exists. See the existing symbols section: https://www.b4x.com/android/forum/threads/conditional-compilation-build-configurations.40746/ Upvote 0
Such a directive already exists. See the existing symbols section: https://www.b4x.com/android/forum/threads/conditional-compilation-build-configurations.40746/
A Alessandra Pellegri Active Member Licensed User Longtime User Dec 16, 2015 #6 Perfetct, thank you Upvote 0