Is it possible somehow to use in B4R 4.0 a module .bas file of various versions according to some condition in the single project?
Various sensors that use lots of common code, but individual Inline-C libraries and code part in these .bas module files.
Any possibility to maintain the single common code with various optional module file ?
In a code module, I don't think so, but in a full project, where you use the code module, then yes
I don't know (never tried) if conditional symbols are saved into code modules individually
Trouble is that libs are different for 3 different sensors (and objects and methods are different a bit), but main is that RAM is very tight, so it needs to separate sensors maximally, by the file code module.
But all other code must be shared.
Is it hard to make "b4x_include 'file.bas'" directive for all IDEs of the family, @Erel ?