Suggestion: Conditional Compilation

Widget

Well-Known Member
Licensed User
Longtime User
It would be nice if we could use conditional compilation so we could conditionally compile sections of code. We use this in Delphi to use the same source code to create:
  • Eval versions of our code
  • Production Version
  • Debug Version
  • Beta Version

In B4A we could use If Statements to try and achieve this but this would also include code that shouldn't be released and will the apps will be much larger than necessary. Also if we try to comment and uncomment blocks of code, mistakes will be made and will be tedious to preform each time we need to compile a different version of code.

Conditional Compilation will allow us to have one code base and just by changing a conditional variable, generate different versions of the application.

See Conditional compilation (Delphi)

Widget
 
Top