Android Question Code Includes

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
 

Brandsum

Well-Known 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.
 
Upvote 0

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
 
Upvote 0

Brandsum

Well-Known 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.
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime 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
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…