Hello Erel et Al
I am maintaining several apps where there are several blocks of common code. A change to any of the apps within the common code blocks needs to be reflected and maintained in all 8 other apps. Forgetfullness on my part is highlighted when the other unchanged apps are recompiled. In order to overcome this problem, I would like to have the ability to include files dynamically into code.
Such as (Delphi style as example only)
{$Include 'MyConstants.inc'}
For the above I might have code
The file MyConstants.inc would contain code that was compatible with the point where the include is located in the code body.
I am not sure if this has been requested before but if so, it has my support.
regards and thanks
SeaCay
I am maintaining several apps where there are several blocks of common code. A change to any of the apps within the common code blocks needs to be reflected and maintained in all 8 other apps. Forgetfullness on my part is highlighted when the other unchanged apps are recompiled. In order to overcome this problem, I would like to have the ability to include files dynamically into code.
Such as (Delphi style as example only)
{$Include 'MyConstants.inc'}
For the above I might have code
B4X:
Dim kount as Int
Dim genMsg as string
{$include 'MyConstants.inc'}
Dim SentinelValue as int = -1
The file MyConstants.inc would contain code that was compatible with the point where the include is located in the code body.
I am not sure if this has been requested before but if so, it has my support.
regards and thanks
SeaCay