Wish B4a , B4i MyFirstProgram compare

Discussion in 'iOS Bugs & Wishlist' started by United Technical Support, Jun 11, 2015.

  1. United Technical Support

    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.
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
  3. klaus

    klaus Expert Licensed User

    I fully agree with Erel.
    He was fater than me to answer.
     
    Erel likes this.
Loading...