Wish B4a , B4i MyFirstProgram compare

United Technical Support

Member
Licensed 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

Erel

Administrator
Staff member
Licensed 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
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