Wish B4a , B4i MyFirstProgram compare

United Technical Support

Member
Licensed User
Longtime User
We have compared the MyFirstProgram.b4a and MyFirstProgram.b4j files.
And found that there are many difference, please make them with the same in next version. Or make them compatible:

such as Private txfResult As TextField in B4i
Private txfResult As EditText in B4a

I think B4a 5.0 can help a little with conditional compilation: #If, #Else If, #Else and support for OR and AND.

Can B4a, B4i, B4j define like this:
===============================
#if B4i
#define EDITBOX TextField
#else
#define EDITBOX EditText
#endif

Private txfResult As EDITBOX
===============================

Although this method can help to cross compilation, But if it support by compiler itself is better.
 

Attachments

  • B4a & B4i difference.png
    B4a & B4i difference.png
    150.7 KB · Views: 237

Erel

B4X founder
Staff member
Licensed User
Longtime User
I think B4a 5.0 can help a little with conditional compilation: #If, #Else If, #Else and support for OR and AND.
They are supported in B4A v5.00 and will be supported in B4i v2.0.

There is no plan to make the first program cross platform. The purpose of this program and the guides is to help developers learn the concepts of B4A and B4i.
 

klaus

Expert
Licensed User
Longtime User
There is no plan to make the first program cross platform. The purpose of this program and the guides is to help developers learn the concepts of B4A and B4i.
I fully agree with Erel.
He was fater than me to answer.
 
Top