Android Question Code Includes

Discussion in 'Android Questions' started by ALBRECHT, Jul 24, 2019.

  1. ALBRECHT

    ALBRECHT Active Member Licensed User

    Hello,

    Please, a little question at 1/2 cent :

    Is there an way to include some vb script modules like in .asp pages " <! - # include ...--> "
    (vbscript in active server pages)

    which include in one place, a piece of code as is

    Regards
    Michel
     
  2. Brandsum

    Brandsum Active Member Licensed User

    You cannot include vb script in B4A but you can port that code and write that in a Class then initialize that class instance where you want to include that code. If your code is simple then you can use code module instead.
     
  3. ALBRECHT

    ALBRECHT Active Member Licensed User

    Ok, i understand,
    that had been allways very useful, these parts of code to be included " AS IS ", to better organize the repeated modules of our pages ...
    Thanks
     
  4. Brandsum

    Brandsum Active Member Licensed User

    I dont know whether it is possible to include any code in any known programming language other than web. In java you have to do the same, create a class to use some code in multiple module.
     
  5. AnandGupta

    AnandGupta Active Member Licensed User

    This language feature is available in Xbase++, Foxpro, Clipper, Harbour and also C++, VB etc.

    Erel may add it in future, like we have now,
    #Region Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
    #End Region

    So

    #Include: "file_name.bh", say

    Just a guess.

    Regards,

    Anand
     
  6. DonManfred

    DonManfred Expert Licensed User

    The thread should be in the wish forum then.
     
  7. AnandGupta

    AnandGupta Active Member Licensed User

    Agree.

    Regards,

    Anand
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice